]> arthur.barton.de Git - netatalk.git/commitdiff
This file shouldn't be compiled at all unless FORCE_UIDGID is defined, so I
authoritlm019 <itlm019>
Sat, 27 Jan 2001 17:54:26 +0000 (17:54 +0000)
committeritlm019 <itlm019>
Sat, 27 Jan 2001 17:54:26 +0000 (17:54 +0000)
added some #ifdef statements for that.

etc/afpd/uid.c

index 1ace8a0beed5289149ae212c71ded8e918a2fe5e..b8a256a1269d9990a97fd5f98a3c1b4b88dc7ad5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: uid.c,v 1.1 2001-01-02 23:00:35 rufustfirefly Exp $
+ * $Id: uid.c,v 1.2 2001-01-27 17:54:26 itlm019 Exp $
  * code: jeff@univrel.pr.uconn.edu
  *
  * These functions are abstracted here, so that all calls for resolving
@@ -7,6 +7,9 @@
  * across the package).
  */
 
+/* don't compile this file at all unless FORCE_UIDGID is set */
+#ifdef FORCE_UIDGID
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -100,3 +103,5 @@ int group_to_gid ( group )
        return this_group->gr_gid;
 
 } /* end function int group_to_gid ( group ) */
+
+#endif FORCE_UIDGID