From ebfbdf9f0e53d5eb8e6a1c85d825a1a9f0f1baef Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 14 Feb 2009 11:22:22 +0100 Subject: maint: avoid gcc warning about missing attributes * src/prog-fprintf.h (prog_fprintf): Declare with printf attribute. * src/system.h (usage): Declare with the "noreturn" attribute. --- src/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/system.h') diff --git a/src/system.h b/src/system.h index 990be0c69..ba74da448 100644 --- a/src/system.h +++ b/src/system.h @@ -655,4 +655,4 @@ bad_cast (char const *s) return (char *) s; } -void usage (int status); +void usage (int status) ATTRIBUTE_NORETURN; -- cgit v1.2.3-70-g09d2