diff options
author | imp <imp@FreeBSD.org> | 2002-03-22 01:42:45 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-22 01:42:45 +0000 |
commit | 0b20191705a346bc322deac818912bd4eab96a1b (patch) | |
tree | f17746dd42b66c7b55fe407e00b5fc176ebe67a5 /usr.bin/tail | |
parent | 1698cb216e2d4ca62662103eba0191f134923698 (diff) | |
download | FreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.zip FreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.tar.gz |
remove __P
Diffstat (limited to 'usr.bin/tail')
-rw-r--r-- | usr.bin/tail/extern.h | 16 | ||||
-rw-r--r-- | usr.bin/tail/forward.c | 2 | ||||
-rw-r--r-- | usr.bin/tail/reverse.c | 4 | ||||
-rw-r--r-- | usr.bin/tail/tail.c | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/tail/extern.h b/usr.bin/tail/extern.h index cecefea..8ad21ec 100644 --- a/usr.bin/tail/extern.h +++ b/usr.bin/tail/extern.h @@ -52,16 +52,16 @@ struct mapinfo { enum STYLE { NOTSET = 0, FBYTES, FLINES, RBYTES, RLINES, REVERSE }; -void forward __P((FILE *, enum STYLE, off_t, struct stat *)); -void reverse __P((FILE *, enum STYLE, off_t, struct stat *)); +void forward(FILE *, enum STYLE, off_t, struct stat *); +void reverse(FILE *, enum STYLE, off_t, struct stat *); -int bytes __P((FILE *, off_t)); -int lines __P((FILE *, off_t)); +int bytes(FILE *, off_t); +int lines(FILE *, off_t); -void ierr __P((void)); -void oerr __P((void)); -int mapprint __P((struct mapinfo *, off_t, off_t)); -int maparound __P((struct mapinfo *, off_t)); +void ierr(void); +void oerr(void); +int mapprint(struct mapinfo *, off_t, off_t); +int maparound(struct mapinfo *, off_t); extern int Fflag, fflag, rflag, rval; extern const char *fname; diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index ce6b3b4..0fa2776 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -59,7 +59,7 @@ static const char sccsid[] = "@(#)forward.c 8.1 (Berkeley) 6/6/93"; #include "extern.h" -static void rlines __P((FILE *, off_t, struct stat *)); +static void rlines(FILE *, off_t, struct stat *); /* defines for inner loop actions */ #define USE_SLEEP 0 diff --git a/usr.bin/tail/reverse.c b/usr.bin/tail/reverse.c index 4cdf27c..f690974 100644 --- a/usr.bin/tail/reverse.c +++ b/usr.bin/tail/reverse.c @@ -56,8 +56,8 @@ static const char sccsid[] = "@(#)reverse.c 8.1 (Berkeley) 6/6/93"; #include "extern.h" -static void r_buf __P((FILE *)); -static void r_reg __P((FILE *, enum STYLE, off_t, struct stat *)); +static void r_buf(FILE *); +static void r_reg(FILE *, enum STYLE, off_t, struct stat *); /* * reverse -- display input in reverse order by line. diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c index d227874..70afd4d 100644 --- a/usr.bin/tail/tail.c +++ b/usr.bin/tail/tail.c @@ -63,8 +63,8 @@ static const char sccsid[] = "@(#)tail.c 8.1 (Berkeley) 6/6/93"; int Fflag, fflag, rflag, rval; const char *fname; -static void obsolete __P((char **)); -static void usage __P((void)); +static void obsolete(char **); +static void usage(void); int main(argc, argv) |