diff options
author | Jim Meyering <meyering@redhat.com> | 2009-02-14 11:22:22 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-02 09:10:17 +0100 |
commit | ebfbdf9f0e53d5eb8e6a1c85d825a1a9f0f1baef (patch) | |
tree | 7a663605bb08ec9c0850c50f508aceb08bc4d20e /src/system.h | |
parent | 2d10b7617bf846d197b881507c6c37e951e773dd (diff) | |
download | coreutils-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.h | 2 |
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; |