chiark / gitweb /
generic build fixes
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 22 May 2010 18:36:07 +0000 (19:36 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 22 May 2010 18:36:07 +0000 (19:36 +0100)
.gitignore
ipif/forwarder.h
settings.make

index 3c1c4b2..925d109 100644 (file)
@@ -1,4 +1,5 @@
 *~
+*.new
 
 dist_tmp
 userv-utils-*.tar.gz
index fa048b3..599eb41 100644 (file)
@@ -28,8 +28,6 @@
 #include <string.h>
 #include <sys/utsname.h>
 
-#include "automech.h"
-
 struct buffer {
   unsigned char *base;
   unsigned char *start;
@@ -52,6 +50,8 @@ struct mechanism {
   mdec_functype *decode;
 };
 
+#include "automech.h"
+
 extern const struct mechanism *const mechanismlists[];
 
 /* setup function may call getarg_xxx functions and then
index c74afc2..2fa37e7 100644 (file)
@@ -38,7 +38,7 @@ etcuserv=     $(etcdir)/userv
 services=      $(etcuserv)/services.d
 
 CFLAGS=        -Wall -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes \
-       -Wpointer-arith -D_GNU_SOURCE \
+       -Wpointer-arith -D_GNU_SOURCE -Wno-pointer-sign \
        $(OPTIMISE) $(DEBUG) $(SUBDIR_CFLAGS)
 LDFLAGS= $(SUBDIR_LDFLAGS)