diff options
author | Thomas Bernard <miniupnp@free.fr> | 2015-02-16 23:41:53 +0100 |
---|---|---|
committer | Thomas Bernard <miniupnp@free.fr> | 2015-02-16 23:41:53 +0100 |
commit | 746d2c502cc3552cca91f91846c6791f648c7205 (patch) | |
tree | 11ca187a5779fd58f3db324a0e5f7b17de896fce /evthread-internal.h | |
parent | d59113a4437a50da3ff38a33f4486e39efb4e3d2 (diff) | |
download | libevent-746d2c502cc3552cca91f91846c6791f648c7205.tar.gz |
Fix "function declaration isn’t a prototype"
add "void" to argument list
Diffstat (limited to 'evthread-internal.h')
-rw-r--r-- | evthread-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/evthread-internal.h b/evthread-internal.h index 16adf167..efdecf81 100644 --- a/evthread-internal.h +++ b/evthread-internal.h @@ -377,9 +377,9 @@ int evutil_global_setup_locks_(const int enable_locks); int evutil_secure_rng_global_setup_locks_(const int enable_locks); /** Return current evthread_lock_callbacks */ -struct evthread_lock_callbacks *evthread_get_lock_callbacks(); +struct evthread_lock_callbacks *evthread_get_lock_callbacks(void); /** Return current evthread_condition_callbacks */ -struct evthread_condition_callbacks *evthread_get_condition_callbacks(); +struct evthread_condition_callbacks *evthread_get_condition_callbacks(void); /** Disable locking for internal usage (like global shutdown) */ void evthreadimpl_disable_lock_debugging_(void); |