From 0825179f47146d19c9f03340ee19880e965de46b Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 29 Aug 2012 20:32:19 +0200 Subject: [PATCH] col: fix compiler warning [-Wstrict-prototypes] MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit text-utils/col.c:142:43: warning: function declaration isn’t a prototype [-Wstrict-prototypes] Signed-off-by: Karel Zak --- text-utils/col.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-utils/col.c b/text-utils/col.c index 57fa475619..f309fa2315 100644 --- a/text-utils/col.c +++ b/text-utils/col.c @@ -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.")); } -- 2.47.3