--- rxvt-unicode/src/rclock.C 2021/05/10 00:37:29 1.3 +++ rxvt-unicode/src/rclock.C 2021/05/10 00:40:41 1.4 @@ -136,7 +136,7 @@ #define DEFER_TIME 3 #define ADJUST_TIME -#define CENTURY 2000 / TODO: verify */ +#define CENTURY 2000 /* TODO: verify */ /*----------------------------------------------------------------------* * #define FONT_NAME "7x14" @@ -280,12 +280,12 @@ const char * /* geom */ ); static void Create_Windows (int /* argc */ , char * /* argv */ []); -static void getXevent (void); +static void getXevent (); static void print_error (const char * /* fmt */ , ...); static void Draw_Window (mywindow_t * /* this_win */ , int /* full_redraw */ ); -static void Reminder (void); +static void Reminder (); static void Next_Reminder (int /* update_only */ ); /* Arguments for Next_Reminder() */ @@ -295,7 +295,7 @@ /*----------------------------------------------------------------------*/ static void -usage (void) +usage () { int i; struct @@ -344,7 +344,7 @@ */ #ifdef MAIL static void -CheckMaildir (void) +CheckMaildir () { struct stat st; char *buf, *p; @@ -745,7 +745,6 @@ return (tmval->tm_min + 60 * (tmval->tm_hour + 24 * (tmval->tm_mday + 31 * ((tmval->tm_mon + 1) + 12 * tmval->tm_year)))); } - #ifdef MAIL static int MailAvailable () @@ -1405,7 +1404,7 @@ * Provide reminder by mapping the message window */ static void -Reminder (void) +Reminder () { char *beg, *next; int lines; @@ -1478,7 +1477,7 @@ * Loops forever, looking for stuff to do. Sleeps 1 minute if nothing to do */ static void -getXevent (void) +getXevent () { XEvent ev; int num_fds; /* number of file descriptors being used */