tabled: cleanup: add #include
PATCH 7/8 tabled: cleanup: add #include
Same as everywhere else: missing prototypes, so implementations are not actually matched by the compiler.
Signed-off-by Pete Zaitcev <[email protected]>
--- lib/readport.c | 1 + test/libtest.c | 1 + 2 files changed, 2 insertions(+)
lib/readport.c +1 -0
@@ -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
@@ -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) {
Quoted 9 lines · Pete Zaitcev
Same as everywhere else: missing prototypes, so implementations are not actually matched by the compiler.
Signed-off-by Pete Zaitcev<[email protected]>--- lib/readport.c | 1 + test/libtest.c | 1 + 2 files changed, 2 insertions(+)
applied 7-8