aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/re.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-02 06:36:49 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-02 06:36:49 +0000
commit7669d0fc4f7d3869e27f94843ca120399a4825e9 (patch)
tree331e1d7f986e20bcd52361067fc4b66cab14b048 /bin/ed/re.c
parentf9bcb0beb529e74510077ff052839d7ad2817950 (diff)
Notes
Diffstat (limited to 'bin/ed/re.c')
-rw-r--r--bin/ed/re.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/ed/re.c b/bin/ed/re.c
index 52dacdcf6244b..5cd43fa21db85 100644
--- a/bin/ed/re.c
+++ b/bin/ed/re.c
@@ -41,7 +41,7 @@ const char *errmsg = "";
/* get_compiled_pattern: return pointer to compiled pattern from command
buffer */
pattern_t *
-get_compiled_pattern()
+get_compiled_pattern(void)
{
static pattern_t *exp = NULL;
static char error[1024];
@@ -81,8 +81,7 @@ get_compiled_pattern()
/* extract_pattern: copy a pattern string from the command buffer; return
pointer to the copy */
char *
-extract_pattern(delimiter)
- int delimiter;
+extract_pattern(int delimiter)
{
static char *lhbuf = NULL; /* buffer */
static int lhbufsz = 0; /* buffer size */
@@ -118,8 +117,7 @@ extract_pattern(delimiter)
/* parse_char_class: expand a POSIX character class */
char *
-parse_char_class(s)
- char *s;
+parse_char_class(char *s)
{
int c, d;