summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-05-06 04:30:05 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-05-06 04:30:05 +0200
commit1dbcf1a01f0bb704db85d3117baafe86ce4d2d8e (patch)
tree7279eaccebe9c2281370b6b6da5d79ca6e879f70
parent75b6ba21256b00f2a04595321b2b364214bc3bda (diff)
C prototype for xs_init fixed
The function was erroneously declared as xs_init() instead of xs_init(void). Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--include/xs.h4
1 files changed, 2 insertions, 2 deletions
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. */