diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/gettime.c | 2 | ||||
-rw-r--r-- | common/signal.c | 4 | ||||
-rw-r--r-- | common/utf8conv.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/common/gettime.c b/common/gettime.c index cbf24364e..20d8fa109 100644 --- a/common/gettime.c +++ b/common/gettime.c @@ -64,7 +64,7 @@ static enum { NORMAL = 0, FROZEN, FUTURE, PAST } timemode; /* Wrapper for the time(3). We use this here so we can fake the time for tests */ time_t -gnupg_get_time () +gnupg_get_time (void) { time_t current = time (NULL); if (current == (time_t)(-1)) diff --git a/common/signal.c b/common/signal.c index 0200186c1..d308c175c 100644 --- a/common/signal.c +++ b/common/signal.c @@ -239,13 +239,13 @@ do_block (int block) void -gnupg_block_all_signals () +gnupg_block_all_signals (void) { do_block(1); } void -gnupg_unblock_all_signals () +gnupg_unblock_all_signals (void) { do_block(0); } diff --git a/common/utf8conv.c b/common/utf8conv.c index 8b66e7f41..80bfbe3e7 100644 --- a/common/utf8conv.c +++ b/common/utf8conv.c @@ -299,7 +299,7 @@ set_native_charset (const char *newset) } const char * -get_native_charset () +get_native_charset (void) { return active_charset_name; } |