diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 16:16:53 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 16:16:53 +0000 |
commit | be278d2bb8f67e75c4bb2e5a62f217fe79dc66e3 (patch) | |
tree | 423972d21eee308fc8e09315f029e1310bdfda69 /src/log.c | |
parent | 72e09121b253e285f89a0e04a0d6de32b9aa3121 (diff) |
Remove (void) args, these just make things ugly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -42,7 +42,7 @@ static int get_logname(char *name, int count, struct tm *tm) /*************************************************************************/ -static void remove_log(void) +static void remove_log() { time_t t; struct tm tm; @@ -67,7 +67,7 @@ static void remove_log(void) /*************************************************************************/ -static void checkday(void) +static void checkday() { time_t t; struct tm tm; @@ -87,7 +87,7 @@ static void checkday(void) /* Open the log file. Return -1 if the log file could not be opened, else * return 0. */ -int open_log(void) +int open_log() { char name[PATH_MAX]; @@ -107,7 +107,7 @@ int open_log(void) /* Close the log file. */ -void close_log(void) +void close_log() { if (!logfile) return; @@ -118,7 +118,7 @@ void close_log(void) /*************************************************************************/ /* added cause this is used over and over in the code */ -char *log_gettimestamp(void) +char *log_gettimestamp() { time_t t; struct tm tm; |