From 471bbbe240f91c67130e965208db8b245ca9d429 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 28 Mar 2011 21:21:03 +0000 Subject: * setfacl.c (strchrnul): Drop local implementation. --- winsup/utils/setfacl.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'winsup/utils/setfacl.c') diff --git a/winsup/utils/setfacl.c b/winsup/utils/setfacl.c index f04cf2510..35689890c 100644 --- a/winsup/utils/setfacl.c +++ b/winsup/utils/setfacl.c @@ -1,6 +1,6 @@ /* setfacl.c - Copyright 2000, 2001, 2002, 2003, 2006, 2008, 2009, 2010 Red Hat Inc. + Copyright 2000, 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011 Red Hat Inc. Written by Corinna Vinschen @@ -71,16 +71,6 @@ mode_t getperm (char *in) | (in[2] == 'x' ? S_IXOTH : 0); } -/* GNU extension. Like strchr except that if c is not found, return pointer - to the trailing \0, rather than NULL. */ -static char * -strchrnul (const char *s, int c) -{ - while (*s && *s != c) - ++s; - return (char *) s; -} - BOOL getaclentry (action_t action, char *c, aclent_t *ace) { -- cgit v1.2.3