From 592e268972a4dc7d91f4fc57c1529e2082bd8731 Mon Sep 17 00:00:00 2001 From: brarcher Date: Sun, 4 Nov 2012 03:23:06 +0000 Subject: [PATCH] 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 --- src/check_pack.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.40.0