From: brarcher Date: Sun, 4 Nov 2012 03:23:06 +0000 (+0000) Subject: Adding prototype for ppack_cleanup X-Git-Tag: 0.10.0~532 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=592e268972a4dc7d91f4fc57c1529e2082bd8731;p=check Adding prototype for ppack_cleanup 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 --- diff --git a/src/check_pack.h b/src/check_pack.h index a84e2aa..8215ddb 100644 --- a/src/check_pack.h +++ b/src/check_pack.h @@ -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 */