summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-02-14 11:22:22 +0100
committerJim Meyering <meyering@redhat.com>2009-03-02 09:10:17 +0100
commitebfbdf9f0e53d5eb8e6a1c85d825a1a9f0f1baef (patch)
tree7a663605bb08ec9c0850c50f508aceb08bc4d20e /src/system.h
parent2d10b7617bf846d197b881507c6c37e951e773dd (diff)
downloadcoreutils-ebfbdf9f0e53d5eb8e6a1c85d825a1a9f0f1baef.tar.xz
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.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h2
1 files changed, 1 insertions, 1 deletions
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;