chiark
/
gitweb
/
~mdw
/
userv-utils
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f828a
)
ipif: move #include of automech.h down so that it has definition of struct mechanism
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 21 Apr 2011 18:13:11 +0000
(19:13 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 21 Apr 2011 18:13:11 +0000
(19:13 +0100)
ipif/forwarder.h
patch
|
blob
|
blame
|
history
diff --git
a/ipif/forwarder.h
b/ipif/forwarder.h
index fa048b321fabcc1de4ed4e29721e28cc639f2195..599eb41a0e6bc521e5f818d333f7915f68ab2ed5 100644
(file)
--- a/
ipif/forwarder.h
+++ b/
ipif/forwarder.h
@@
-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