diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-24 03:41:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-24 03:41:33 +0000 |
commit | fb19d01b96779aaf0b9632f6deb4bd06965b664d (patch) | |
tree | e0cfb2ba0775008b9b2b616823fdb0fa54f13615 | |
parent | b380f45a130d604c9ebbad1c451ca4daa7eba5b2 (diff) | |
download | coreutils-fb19d01b96779aaf0b9632f6deb4bd06965b664d.tar.xz |
[chown]: Move definition up a little.
-rw-r--r-- | src/chown.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chown.c b/src/chown.c index 1435d05fe..24bb84c59 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 (); |