diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-03-28 21:21:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-03-28 21:21:03 +0000 |
commit | 471bbbe240f91c67130e965208db8b245ca9d429 (patch) | |
tree | 862c96a34fb6e55b19c5b51bf6cb2ec0206d401d /winsup/utils/setfacl.c | |
parent | 75526ad53086bddade5ec2fa9c4cb7ec222186b7 (diff) | |
download | newlib-471bbbe240f91c67130e965208db8b245ca9d429.zip newlib-471bbbe240f91c67130e965208db8b245ca9d429.tar.gz newlib-471bbbe240f91c67130e965208db8b245ca9d429.tar.bz2 |
* setfacl.c (strchrnul): Drop local implementation.
Diffstat (limited to 'winsup/utils/setfacl.c')
-rw-r--r-- | winsup/utils/setfacl.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/winsup/utils/setfacl.c b/winsup/utils/setfacl.c index f04cf25..3568989 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 <vinschen@redhat.com> @@ -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) { |