diff options
Diffstat (limited to 'bin/ed/re.c')
-rw-r--r-- | bin/ed/re.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/ed/re.c b/bin/ed/re.c index 52dacdc..5cd43fa 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; |