]> arthur.barton.de Git - netatalk.git/commitdiff
fix some compile warnings
authorbfernhomberg <bfernhomberg>
Tue, 15 Jun 2004 00:44:02 +0000 (00:44 +0000)
committerbfernhomberg <bfernhomberg>
Tue, 15 Jun 2004 00:44:02 +0000 (00:44 +0000)
bin/nbp/nbplkup.c
bin/pap/pap.c
bin/pap/papstatus.c
etc/afpd/unix.c

index e4bf45a7d3e2be649679c139f16ad4693f657263..5fbde51a46f0cdf51fae28dd01c853915dc92af2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: nbplkup.c,v 1.4.14.1 2004-06-09 01:07:17 bfernhomberg Exp $
+ * $Id: nbplkup.c,v 1.4.14.2 2004-06-15 00:44:02 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
 #include <atalk/util.h>
 #include <string.h>
 #include <stdio.h>
-#if !defined( sun ) || !defined( i386 )
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
-#endif /* ! sun || ! i386 */
+#endif
+
 
 #include <atalk/unicode.h>
 
index c0df79662c972472025729ff0a7c65a09ac77775..50052fde95670f672edb85381938c3aa06fb3985 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: pap.c,v 1.9 2002-11-25 01:33:02 jmarcus Exp $
+ * $Id: pap.c,v 1.9.6.1 2004-06-15 00:44:03 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -14,6 +14,7 @@
 #include <sys/uio.h>
 #include <netatalk/endian.h>
 #include <netatalk/at.h>
+#include <errno.h>
 #include <atalk/atp.h>
 #include <atalk/pap.h>
 #include <atalk/nbp.h>
@@ -25,7 +26,6 @@
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
-#include <errno.h>
 
 #define FUCKED
 
index 4536b6b7a2949c0a6ef6f6a5d46ecf3a78446a46..82b356e6ad5815fbc920ebbd70a1a3b31dae5fb6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: papstatus.c,v 1.4 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: papstatus.c,v 1.4.14.1 2004-06-15 00:44:03 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
@@ -33,6 +33,7 @@
 #include <sys/file.h>
 #include <netatalk/endian.h>
 #include <netatalk/at.h>
+#include <errno.h>
 #include <atalk/atp.h>
 #include <atalk/pap.h>
 #include <atalk/nbp.h>
@@ -40,7 +41,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <errno.h>
 
 #define _PATH_PAPRC    ".paprc"
 
index b581af6ac831918cf3c4153e54f9c20537f20d34..a7c24ca0040be2304ccd2d20a724251260841ec7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: unix.c,v 1.43.2.1.2.8 2004-05-12 21:21:48 didg Exp $
+ * $Id: unix.c,v 1.43.2.1.2.9 2004-06-15 00:46:01 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -33,6 +33,7 @@ char *strchr (), *strrchr ();
 #include <dirent.h>
 #include <limits.h>
 #include <sys/param.h>
+#include <sys/stat.h>
 #include <atalk/logger.h>
 #include <atalk/adouble.h>
 #include <atalk/afp.h>