summaryrefslogtreecommitdiff
path: root/bin/csh/parse.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /bin/csh/parse.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
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 'bin/csh/parse.c')
-rw-r--r--bin/csh/parse.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/csh/parse.c b/bin/csh/parse.c
index 9b039456e73..ba347b595bf 100644
--- a/bin/csh/parse.c
+++ b/bin/csh/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.3 1997/07/25 18:58:14 mickey Exp $ */
+/* $OpenBSD: parse.c,v 1.4 2002/02/16 21:27:06 millert Exp $ */
/* $NetBSD: parse.c,v 1.6 1995/03/21 09:03:10 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: parse.c,v 1.3 1997/07/25 18:58:14 mickey Exp $";
+static char rcsid[] = "$OpenBSD: parse.c,v 1.4 2002/02/16 21:27:06 millert Exp $";
#endif
#endif /* not lint */
@@ -54,23 +54,23 @@ static char rcsid[] = "$OpenBSD: parse.c,v 1.3 1997/07/25 18:58:14 mickey Exp $"
#include "csh.h"
#include "extern.h"
-static void asyntax __P((struct wordent *, struct wordent *));
-static void asyn0 __P((struct wordent *, struct wordent *));
-static void asyn3 __P((struct wordent *, struct wordent *));
+static void asyntax(struct wordent *, struct wordent *);
+static void asyn0(struct wordent *, struct wordent *);
+static void asyn3(struct wordent *, struct wordent *);
static struct wordent
- *freenod __P((struct wordent *, struct wordent *));
+ *freenod(struct wordent *, struct wordent *);
static struct command
- *syn0 __P((struct wordent *, struct wordent *, int));
+ *syn0(struct wordent *, struct wordent *, int);
static struct command
- *syn1 __P((struct wordent *, struct wordent *, int));
+ *syn1(struct wordent *, struct wordent *, int);
static struct command
- *syn1a __P((struct wordent *, struct wordent *, int));
+ *syn1a(struct wordent *, struct wordent *, int);
static struct command
- *syn1b __P((struct wordent *, struct wordent *, int));
+ *syn1b(struct wordent *, struct wordent *, int);
static struct command
- *syn2 __P((struct wordent *, struct wordent *, int));
+ *syn2(struct wordent *, struct wordent *, int);
static struct command
- *syn3 __P((struct wordent *, struct wordent *, int));
+ *syn3(struct wordent *, struct wordent *, int);
#define ALEFT 21 /* max of 20 alias expansions */
#define HLEFT 11 /* max of 10 history expansions */