Skip to contentSkip to conversation

tabled: cleanup: add #include

PATCH Applied Pete Zaitcev 2 participants 2 messages Apr 14, 2010 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 7/8 tabled: cleanup: add #include

Same as everywhere else: missing prototypes, so implementations are not actually matched by the compiler.

---
 lib/readport.c |    1 +
 test/libtest.c |    1 +
 2 files changed, 2 insertions(+)
lib/readport.c +1 -0
index afd1c91..8589ec6 100644
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <httputil.h>
 
 /*
  * Read a port number from a port file, fill buffer.
test/libtest.c +1 -0
index ef07778..bdfe912 100644
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <stdbool.h>
 #include <ctype.h>
+#include "test.h"
 
 bool find_our_hdr(const char *hdr, const void *data, size_t data_len)
 {
#1 lore raw
Quoted 9 lines · Pete Zaitcev

Same as everywhere else: missing prototypes, so implementations are not actually matched by the compiler.

---
  lib/readport.c |    1 +
  test/libtest.c |    1 +
  2 files changed, 2 insertions(+)

applied 7-8