From 1dbcf1a01f0bb704db85d3117baafe86ce4d2d8e Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 6 May 2012 04:30:05 +0200 Subject: C prototype for xs_init fixed The function was erroneously declared as xs_init() instead of xs_init(void). Signed-off-by: Martin Sustrik --- include/xs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/xs.h b/include/xs.h index 960ba20..6d0a710 100644 --- a/include/xs.h +++ b/include/xs.h @@ -151,10 +151,10 @@ XS_EXPORT int xs_getmsgopt (xs_msg_t *msg, int option, void *optval, #define XS_IO_THREADS 2 #define XS_PLUGIN 3 -XS_EXPORT void *xs_init (); +XS_EXPORT void *xs_init (void); XS_EXPORT int xs_term (void *context); XS_EXPORT int xs_setctxopt (void *context, int option, const void *optval, - size_t optvallen); + size_t optvallen); /******************************************************************************/ /* Crossroads socket definition. */ -- cgit v1.2.3