All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 7/8] tabled: cleanup: add #include
@ 2010-04-14 18:35 Pete Zaitcev
  2010-04-14 19:51 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Pete Zaitcev @ 2010-04-14 18:35 UTC (permalink / raw)
  To: jeff; +Cc: Project Hail List

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

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>

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

diff --git a/lib/readport.c b/lib/readport.c
index afd1c91..8589ec6 100644
--- a/lib/readport.c
+++ b/lib/readport.c
@@ -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.
diff --git a/test/libtest.c b/test/libtest.c
index ef07778..bdfe912 100644
--- a/test/libtest.c
+++ b/test/libtest.c
@@ -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)
 {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch 7/8] tabled: cleanup: add #include
  2010-04-14 18:35 [Patch 7/8] tabled: cleanup: add #include Pete Zaitcev
@ 2010-04-14 19:51 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2010-04-14 19:51 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: Project Hail List

On 04/14/2010 02:35 PM, Pete Zaitcev wrote:
> Same as everywhere else: missing prototypes, so implementations are
> not actually matched by the compiler.
>
> Signed-off-by: Pete Zaitcev<zaitcev@redhat.com>
>
> ---
>   lib/readport.c |    1 +
>   test/libtest.c |    1 +
>   2 files changed, 2 insertions(+)

applied 7-8


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-14 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-14 18:35 [Patch 7/8] tabled: cleanup: add #include Pete Zaitcev
2010-04-14 19:51 ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.