From: Jim Meyering Date: Wed, 24 Apr 1996 03:41:33 +0000 (+0000) Subject: [chown]: Move definition up a little. X-Git-Tag: TEXTUTILS-1_14c~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb19d01b96779aaf0b9632f6deb4bd06965b664d;p=thirdparty%2Fcoreutils.git [chown]: Move definition up a little. --- diff --git a/src/chown.c b/src/chown.c index 1435d05fe0..24bb84c591 100644 --- a/src/chown.c +++ b/src/chown.c @@ -38,6 +38,10 @@ #include "system.h" #include "error.h" +#ifdef HAVE_LCHOWN +# define chown(PATH, OWNER, GROUP) lchown(PATH, OWNER, GROUP) +#endif + #ifndef _POSIX_VERSION struct passwd *getpwnam (); struct group *getgrnam (); @@ -48,10 +52,6 @@ struct group *getgrgid (); # define endpwent() ((void) 0) #endif -#ifdef HAVE_LCHOWN -# define chown(PATH, OWNER, GROUP) lchown(PATH, OWNER, GROUP) -#endif - char *savedir (); char *parse_user_spec (); void strip_trailing_slashes ();