summaryrefslogtreecommitdiff
path: root/bin/csh/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/lex.c')
-rw-r--r--bin/csh/lex.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/bin/csh/lex.c b/bin/csh/lex.c
index 267dab2e126..0c43487682c 100644
--- a/bin/csh/lex.c
+++ b/bin/csh/lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.c,v 1.4 2001/12/01 19:10:39 deraadt Exp $ */
+/* $OpenBSD: lex.c,v 1.5 2002/02/16 21:27:06 millert Exp $ */
/* $NetBSD: lex.c,v 1.9 1995/09/27 00:38:46 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: lex.c,v 1.4 2001/12/01 19:10:39 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: lex.c,v 1.5 2002/02/16 21:27:06 millert Exp $";
#endif
#endif /* not lint */
@@ -64,24 +64,24 @@ static char rcsid[] = "$OpenBSD: lex.c,v 1.4 2001/12/01 19:10:39 deraadt Exp $";
* of input buffering, and especially because of history substitution.
*/
-static Char *word __P((void));
-static int getC1 __P((int));
-static void getdol __P((void));
-static void getexcl __P((int));
+static Char *word(void);
+static int getC1(int);
+static void getdol(void);
+static void getexcl(int);
static struct Hist
- *findev __P((Char *, bool));
-static void setexclp __P((Char *));
-static int bgetc __P((void));
-static void bfree __P((void));
+ *findev(Char *, bool);
+static void setexclp(Char *);
+static int bgetc(void);
+static void bfree(void);
static struct wordent
- *gethent __P((int));
-static int matchs __P((Char *, Char *));
-static int getsel __P((int *, int *, int));
+ *gethent(int);
+static int matchs(Char *, Char *);
+static int getsel(int *, int *, int);
static struct wordent
- *getsub __P((struct wordent *));
-static Char *subword __P((Char *, int, bool *));
+ *getsub(struct wordent *);
+static Char *subword(Char *, int, bool *);
static struct wordent
- *dosub __P((int, struct wordent *, bool));
+ *dosub(int, struct wordent *, bool);
/*
* Peekc is a peek character for getC, peekread for readc.