diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2012-03-16 09:19:14 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2012-03-16 09:43:05 +0100 |
commit | 14bfbb5fa9e22a8befe08f10171c47dfba96062a (patch) | |
tree | 8ad7b349cc87439b5e8e2f64d0f37cdd2ffc63fa /sed/utils.c | |
parent | 9b1f7c328551b16241c74434312b21c5df6d8b3b (diff) | |
download | sed-14bfbb5fa9e22a8befe08f10171c47dfba96062a.tar.gz |
switch to the wonderful world of function prototypes
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* basicdefs.h (P_): Remove.
* sed/compile.c: Adjust.
* sed/execute.c: Likewise.
* sed/fmt.c: Likewise.
* sed/sed.c: Likewise.
* sed/sed.h: Likewise.
* sed/utils.c: Likewise.
* sed/utils.h: Likewise.
Diffstat (limited to 'sed/utils.c')
-rw-r--r-- | sed/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sed/utils.c b/sed/utils.c index 26dc798..aa674fd 100644 --- a/sed/utils.c +++ b/sed/utils.c @@ -47,7 +47,7 @@ struct open_file }; static struct open_file *open_files = NULL; -static void do_ck_fclose P_((FILE *fp)); +static void do_ck_fclose (FILE *fp); /* Print an error message and exit */ @@ -82,7 +82,7 @@ panic(const char *str, ...) /* Internal routine to get a filename from open_files */ -static const char *utils_fp_name P_((FILE *fp)); +static const char *utils_fp_name (FILE *fp); static const char * utils_fp_name(fp) FILE *fp; @@ -528,7 +528,7 @@ size_buffer(b) return b->length; } -static void resize_buffer P_((struct buffer *b, size_t newlen)); +static void resize_buffer (struct buffer *b, size_t newlen); static void resize_buffer(b, newlen) struct buffer *b; |