]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
col: fix compiler warning [-Wstrict-prototypes]
authorKarel Zak <kzak@redhat.com>
Wed, 29 Aug 2012 18:32:19 +0000 (20:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Sep 2012 14:49:28 +0000 (16:49 +0200)
text-utils/col.c:142:43: warning: function declaration isn’t a prototype [-Wstrict-prototypes]

Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/col.c

index 57fa475619d70f43abb2e90bcde352ac85cb1f09..f309fa2315ac28b61bcfb0708dbf6378518621fa 100644 (file)
@@ -139,7 +139,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
        exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
 }
 
-static void __attribute__((__noreturn__)) wrerr()
+static void __attribute__((__noreturn__)) wrerr(void)
 {
        errx(EXIT_FAILURE, _("write error."));
 }