Skip to contentSkip to conversation

chunkd: add include w/prototypes

PATCH In review Pete Zaitcev 1 participant 1 message Mar 31, 2010 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 chunkd: add include w/prototypes

Caught by gcc: the prototypes are not in the header that we expected.

---
 lib/chunksrv.c |    1 +
 1 file changed, 1 insertion(+)
lib/chunksrv.c +1 -0
diff -urp -X dontdiff chunkd-m/lib/chunksrv.c chunkd-tip/lib/chunksrv.c
@@ -24,6 +24,7 @@
 #include <openssl/hmac.h>
 #include <glib.h>
 #include <chunk_msg.h>
+#include <chunksrv.h>		/* req_len, chreq_sign proto */
 
 size_t req_len(const struct chunksrv_req *req)
 {

diff -urp -X dontdiff chunkd-m/server/cldu.c chunkd-tip/server/cldu.c