Skip to content

Commit

Permalink
Fix "function declaration isn’t a prototype"
Browse files Browse the repository at this point in the history
add "void" to argument list
  • Loading branch information
miniupnp committed Feb 16, 2015
1 parent d59113a commit 746d2c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions evthread-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion test/regress_bufferevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ static int trace_lock_unlock(unsigned mode, void *lock_)
return lu_base.cbs.unlock(mode, lock_);
}
}
static void lock_unlock_free_thread_cbs()
static void lock_unlock_free_thread_cbs(void)
{
event_base_free(NULL);

Expand Down

0 comments on commit 746d2c5

Please sign in to comment.