diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-30 15:59:43 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-30 15:59:43 -0500 |
commit | 4f40f29ade4a6b2c0b27ba902281718662cdde82 (patch) | |
tree | e09ba47066e6509575e636f2e694c6d5deaa5904 /libdimension/error.c | |
parent | d5c774477b1d1cbbcc6a7daf00679bcb57193533 (diff) | |
download | dimension-4f40f29ade4a6b2c0b27ba902281718662cdde82.tar.xz |
Make some empty parameter lists explicit.
Diffstat (limited to 'libdimension/error.c')
-rw-r--r-- | libdimension/error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/error.c b/libdimension/error.c index f87c655..974503a 100644 --- a/libdimension/error.c +++ b/libdimension/error.c @@ -63,7 +63,7 @@ dmnsn_report_error(dmnsn_severity severity, /* Return the current resilience, thread-safely. */ dmnsn_severity -dmnsn_get_resilience() +dmnsn_get_resilience(void) { dmnsn_severity resilience; if (pthread_mutex_lock(&dmnsn_resilience_mutex) != 0) { @@ -113,7 +113,7 @@ dmnsn_set_resilience(dmnsn_severity resilience) } dmnsn_fatal_error_fn * -dmnsn_get_fatal_error_fn() +dmnsn_get_fatal_error_fn(void) { dmnsn_fatal_error_fn *fatal; if (pthread_mutex_lock(&dmnsn_fatal_mutex) != 0) { @@ -147,7 +147,7 @@ dmnsn_set_fatal_error_fn(dmnsn_fatal_error_fn *fatal) } static void -dmnsn_default_fatal_error_fn() +dmnsn_default_fatal_error_fn(void) { /* Prevent infinite recursion if the fatal error function itself calls dmnsn_error() */ |