1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 00:33:14 +02:00

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
This commit is contained in:
rburchell
2008-11-28 16:16:53 +00:00
parent 72e09121b2
commit be278d2bb8
57 changed files with 209 additions and 209 deletions
+4 -4
View File
@@ -60,7 +60,7 @@ static int get_logname(char *name, int count, struct tm *tm)
/* Close the log file. */
void close_log(void)
void close_log()
{
if (!logfile)
return;
@@ -70,7 +70,7 @@ void close_log(void)
/*************************************************************************/
static void remove_log(void)
static void remove_log()
{
time_t t;
struct tm tm;
@@ -91,7 +91,7 @@ static void remove_log(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];
@@ -109,7 +109,7 @@ int open_log(void)
/*************************************************************************/
static void checkday(void)
static void checkday()
{
time_t t;
struct tm tm;
+2 -2
View File
@@ -1649,7 +1649,7 @@ int b64_decode(const char *src, char *target, size_t targsize)
case 2: /* Valid, means one byte of info */
/* Skip any number of spaces. */
for ((void) NULL; ch != '\0'; ch = *src++)
for (; ch != '\0'; ch = *src++)
if (!isspace(ch))
break;
/* Make sure there is another trailing = sign. */
@@ -1664,7 +1664,7 @@ int b64_decode(const char *src, char *target, size_t targsize)
* We know this char is an =. Is there anything but
* whitespace after it?
*/
for ((void) NULL; ch != '\0'; ch = *src++)
for (; ch != '\0'; ch = *src++)
if (!isspace(ch))
return (-1);