o Use real prototypes

o Remove __P.
o main(int, char *[])
This commit is contained in:
imp 2002-03-18 04:55:09 +00:00
parent 3e3cb14cfc
commit 3edee7e57e

View File

@ -65,20 +65,18 @@ static const char rcsid[] =
#define REPORT_PERIOD (30*60)
static void fake __P((int));
static void usage __P((void));
static void fake(int);
static void usage(void);
static void
fake(unused)
int unused __unused;
fake(int unused __unused)
{
/* Do nothing. */
}
int main(argc, argv)
int argc;
char **argv;
int
main(int argc, char *argv[])
{
struct tm local;
struct timeval tv, *stv;
@ -376,7 +374,7 @@ recalculate:
}
static void
usage()
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: adjkerntz -i",