diff options
author | 2002-02-16 21:27:05 +0000 | |
---|---|---|
committer | 2002-02-16 21:27:05 +0000 | |
commit | c72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch) | |
tree | 1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libedit/tty.c | |
parent | default to rsa keyfile path for non key generation operations where (diff) | |
download | wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libedit/tty.c')
-rw-r--r-- | lib/libedit/tty.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c index 8ea40de82bd..cade741c99f 100644 --- a/lib/libedit/tty.c +++ b/lib/libedit/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.5 2001/04/13 20:21:19 deraadt Exp $ */ +/* $OpenBSD: tty.c,v 1.6 2002/02/16 21:27:26 millert Exp $ */ /* $NetBSD: tty.c,v 1.3 1997/04/11 17:52:49 christos Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: tty.c,v 1.5 2001/04/13 20:21:19 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: tty.c,v 1.6 2002/02/16 21:27:26 millert Exp $"; #endif #endif /* not lint && not SCCSID */ @@ -453,10 +453,10 @@ private ttymodes_t ttymodes[] = { #define tty__geteightbit(td) (((td)->c_cflag & CSIZE) == CS8) #define tty__cooked_mode(td) ((td)->c_lflag & ICANON) -private void tty__getchar __P((struct termios *, unsigned char *)); -private void tty__setchar __P((struct termios *, unsigned char *)); -private speed_t tty__getspeed __P((struct termios *)); -private int tty_setup __P((EditLine *)); +private void tty__getchar(struct termios *, unsigned char *); +private void tty__setchar(struct termios *, unsigned char *); +private speed_t tty__getspeed(struct termios *); +private int tty_setup(EditLine *); #define t_qu t_ts |