From b6ea75cfc9712b77a0886c4348d6fb519641e40e Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Mon, 21 Jan 2008 03:11:44 +0000 Subject: de K&Rify, fix prototypes --- zwgc/buffer.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'zwgc/buffer.c') diff --git a/zwgc/buffer.c b/zwgc/buffer.c index 4b46c22..8c047af 100644 --- a/zwgc/buffer.c +++ b/zwgc/buffer.c @@ -24,12 +24,14 @@ static const char rcsid_buffer_c[] = "$Id$"; static char *buffer = 0; -string buffer_to_string() +string +buffer_to_string(void) { return(buffer); } -void clear_buffer() +void +clear_buffer(void) { if (buffer) free(buffer); @@ -37,8 +39,8 @@ void clear_buffer() buffer = string_Copy(""); } -void append_buffer(str) - char *str; +void +append_buffer(char *str) { buffer = string_Concat2(buffer, str); } -- cgit v1.2.3