]> arthur.barton.de Git - netatalk.git/commitdiff
compilation fixes for FORCE_UIDGID enabled
authorrufustfirefly <rufustfirefly>
Tue, 27 Feb 2001 16:27:19 +0000 (16:27 +0000)
committerrufustfirefly <rufustfirefly>
Tue, 27 Feb 2001 16:27:19 +0000 (16:27 +0000)
etc/afpd/file.c
etc/afpd/uid.h

index ce55220889c4672b8f7a2543bb0097495054d642..d68fac2ec04836dd908d5f8310e3091cfaf3b4f7 100644 (file)
@@ -39,7 +39,7 @@
 
 #ifdef FORCE_UIDGID
 #include "uid.h"
-#endif FORCE_UIDGID
+#endif /* FORCE_UIDGID */
 
 /* the format for the finderinfo fields (from IM: Toolbox Essentials):
  * field         bytes        subfield    bytes
index 106b86cd2e091cd790dd565f67d005eed02d5200..b0293328f8a18e2f6a308474666164f000600c96 100644 (file)
@@ -1,11 +1,13 @@
 /*
- * $Id: uid.h,v 1.1 2001-01-02 23:00:35 rufustfirefly Exp $
+ * $Id: uid.h,v 1.2 2001-02-27 16:27:19 rufustfirefly Exp $
  * code: jeff@univrel.pr.uconn.edu
  */
 
 #ifndef AFPD_UID_H
 #define AFPD_UID_H 1
 
+#ifdef FORCE_UIDGID
+
 /* have to make sure struct vol is defined */
 #include "volume.h"
 
@@ -24,4 +26,6 @@ extern void set_uidgid     ( struct vol * );
 extern int  user_to_uid  ( char * );
 extern int  group_to_gid ( char * );
 
+#endif /* FORCE_UIDGID */
+
 #endif