Remove __P,
Don't prototype main(), C89-style function declarations, char **argv -> char *argv[] for main() PR: 36130 Approved by: mike
This commit is contained in:
parent
81c126e7d3
commit
8a99cbd53d
@ -42,13 +42,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static void asa __P((FILE *));
|
||||
int main __P((int, char *[]));
|
||||
static void asa(FILE *);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
FILE *fp;
|
||||
|
||||
@ -72,8 +69,7 @@ main(argc, argv)
|
||||
}
|
||||
|
||||
static void
|
||||
asa(f)
|
||||
FILE *f;
|
||||
asa(FILE *f)
|
||||
{
|
||||
size_t len;
|
||||
char *buf;
|
||||
|
Loading…
Reference in New Issue
Block a user