mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
o Use real prototypes
o Remove __P. o main(int, char *[])
This commit is contained in:
parent
2292c02e95
commit
bbbc97356c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92536
@ -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 @@ int main(argc, argv)
|
||||
}
|
||||
|
||||
static void
|
||||
usage()
|
||||
usage(void)
|
||||
{
|
||||
fprintf(stderr, "%s\n%s\n%s\n%s\n",
|
||||
"usage: adjkerntz -i",
|
||||
|
Loading…
Reference in New Issue
Block a user