]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(struct COLUMN) [print_func]: Declare as a protype.
authorJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 14:35:39 +0000 (14:35 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 14:35:39 +0000 (14:35 +0000)
(struct COLUMN) [char_func]: Declare as a protype.

src/pr.c

index b25a2a27fc025fdbd14adc21a453588c97c3dcce..a1c38a1fa46bcfcea6ce9824648e57823f686d30 100644 (file)
--- 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. */