diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/csh/extern.h | 8 | ||||
-rw-r--r-- | bin/ed/ed.h | 10 | ||||
-rw-r--r-- | bin/rcp/rcp.c | 6 |
3 files changed, 8 insertions, 16 deletions
diff --git a/bin/csh/extern.h b/bin/csh/extern.h index 393be67a3a8..6b161488209 100644 --- a/bin/csh/extern.h +++ b/bin/csh/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.4 2002/02/16 21:27:06 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.5 2002/02/17 19:42:18 millert Exp $ */ /* $NetBSD: extern.h,v 1.8 1996/10/31 23:50:54 christos Exp $ */ /*- @@ -163,7 +163,7 @@ Char *globone(Char *, int); int Gmatch(Char *, Char *); void ginit(void); Char **globall(Char **); -void rscan __P((Char **, void (*)())); +void rscan(Char **, void (*)()); void tglob(Char **); void trim(Char **); #ifdef FILEC @@ -296,8 +296,8 @@ void plist(struct varent *); */ void donice(Char **, struct command *); void dotime(Char **, struct command *); -void prusage __P((struct rusage *, struct rusage *, - struct timeval *, struct timeval *)); +void prusage(struct rusage *, struct rusage *, + struct timeval *, struct timeval *); void ruadd(struct rusage *, struct rusage *); void settimes(void); void pcsecs(long); diff --git a/bin/ed/ed.h b/bin/ed/ed.h index 72e2d7b8615..d8226f1bf55 100644 --- a/bin/ed/ed.h +++ b/bin/ed/ed.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ed.h,v 1.8 2002/02/16 21:27:06 millert Exp $ */ +/* $OpenBSD: ed.h,v 1.9 2002/02/17 19:42:19 millert Exp $ */ /* $NetBSD: ed.h,v 1.23 1995/03/21 09:04:40 cgd Exp $ */ /* ed.h: type and constant definitions for the ed editor. */ @@ -190,14 +190,6 @@ if ((i) > (n)) { \ # define strerror(n) sys_errlist[n] #endif -#ifndef __P -# ifndef __STDC__ -# define __P(proto) () -# else -# define __P(proto) proto -# endif -#endif - /* Local Function Declarations */ void add_line_node(line_t *); int append_lines(long); diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index 3368beab00d..902f8419c48 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcp.c,v 1.26 2002/02/16 21:27:07 millert Exp $ */ +/* $OpenBSD: rcp.c,v 1.27 2002/02/17 19:42:19 millert Exp $ */ /* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */ /* @@ -103,8 +103,8 @@ int kerberos(char **, char *, char *, char *); void oldw(const char *, ...); /* XXX from ../../usr.bin/rlogin/krcmd.c */ int krcmd(char **, u_short, char *, char *, int *, char *); -int krcmd_mutual __P((char **, u_short, char *, char *, int *, - char *, CREDENTIALS *, Key_schedule)); +int krcmd_mutual(char **, u_short, char *, char *, int *, + char *, CREDENTIALS *, Key_schedule); #endif int response(void); void rsource(char *, struct stat *); |