From: Jim Meyering Date: Sun, 11 Nov 2001 14:35:39 +0000 (+0000) Subject: (struct COLUMN) [print_func]: Declare as a protype. X-Git-Tag: TEXTUTILS-2_0_17~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=051550c21b27f066af2b6c72004de70652fc035a;p=thirdparty%2Fcoreutils.git (struct COLUMN) [print_func]: Declare as a protype. (struct COLUMN) [char_func]: Declare as a protype. --- diff --git a/src/pr.c b/src/pr.c index b25a2a27fc..a1c38a1fa4 100644 --- a/src/pr.c +++ b/src/pr.c @@ -388,8 +388,13 @@ struct COLUMN CLOSED } status; /* Status of the file pointer. */ - int (*print_func) (); /* Func to print lines in this col. */ - void (*char_func) (); /* Func to print/store chars in this col. */ + + /* Func to print lines in this col. */ + int (*print_func) PARAMS ((struct COLUMN *)); + + /* Func to print/store chars in this col. */ + void (*char_func) PARAMS ((int)); + int current_line; /* Index of current place in line_vector. */ int lines_stored; /* Number of lines stored in buff. */ int lines_to_print; /* No. lines stored or space left on page. */