diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
commit | d522f6eb0324008023fed0be4d046f3fc51b0356 (patch) | |
tree | 9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /lib/libedit/key.c | |
parent | 1b433a7e5b43fe0dec72e100525e31299629c117 (diff) |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'lib/libedit/key.c')
-rw-r--r-- | lib/libedit/key.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/libedit/key.c b/lib/libedit/key.c index e108095f350..21a27356913 100644 --- a/lib/libedit/key.c +++ b/lib/libedit/key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.4 2002/02/16 21:27:26 millert Exp $ */ +/* $OpenBSD: key.c,v 1.5 2002/02/17 19:42:25 millert Exp $ */ /* $NetBSD: key.c,v 1.2 1997/01/11 06:47:58 lukem Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)key.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: key.c,v 1.4 2002/02/16 21:27:26 millert Exp $"; +static char rcsid[] = "$OpenBSD: key.c,v 1.5 2002/02/17 19:42:25 millert Exp $"; #endif #endif /* not lint && not SCCSID */ @@ -85,15 +85,13 @@ struct key_node_t { struct key_node_t *sibling; /* ptr to another key with same prefix */ }; -private int node_trav __P((EditLine *, key_node_t *, char *, - key_value_t *)); -private int node__try __P((key_node_t *, char *, - key_value_t *, int)); +private int node_trav(EditLine *, key_node_t *, char *, + key_value_t *); +private int node__try(key_node_t *, char *, key_value_t *, int); private key_node_t *node__get(int); private void node__put(key_node_t *); private int node__delete(key_node_t **, char *); -private int node_lookup __P((EditLine *, char *, key_node_t *, - int)); +private int node_lookup (EditLine *, char *, key_node_t *, int); private int node_enum(EditLine *, key_node_t *, int); private int key__decode_char(char *, int, int); |