]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[chown]: Move definition up a little.
authorJim Meyering <jim@meyering.net>
Wed, 24 Apr 1996 03:41:33 +0000 (03:41 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 24 Apr 1996 03:41:33 +0000 (03:41 +0000)
src/chown.c

index 1435d05fe0bb7936e5802751462f932a4c4b0502..24bb84c591cd48018aca1a3de769a370de24df31 100644 (file)
 #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 ();