]> granicus.if.org Git - check/commitdiff
Adding prototype for ppack_cleanup
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 4 Nov 2012 03:23:06 +0000 (03:23 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 4 Nov 2012 03:23:06 +0000 (03:23 +0000)
There was no prototype, which would cause a compile warning

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@648 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check_pack.h

index a84e2aabf8e5c6edf20a743df77a2c23e0ec4408..8215ddb4bc89b33f94218cdf911c76abf03b8715 100644 (file)
@@ -79,5 +79,9 @@ int upack (char *buf, CheckMsg *msg, enum ck_msg_type *type);
 void ppack (int fdes, enum ck_msg_type type, CheckMsg *msg);
 RcvMsg *punpack (int fdes);
 
+#ifdef HAVE_PTHREAD
+void ppack_cleanup( void *mutex );
+#endif
+
 
 #endif /*CHECK_PACK_H */