diff options
author | Werner Almesberger <werner@almesberger.net> | 2016-10-29 15:28:26 -0300 |
---|---|---|
committer | Werner Almesberger <werner@almesberger.net> | 2016-10-29 15:28:26 -0300 |
commit | da077cfcc19b21ebc994e6d1fb5ab85c99f9cc72 (patch) | |
tree | 25f280d3777cfeb864408623e4b305ebb65556b1 /main.h | |
parent | 11dce68a9b3684cbaaa9aff0a18e62bbe7e2f2e0 (diff) | |
download | eeshow-da077cfcc19b21ebc994e6d1fb5ab85c99f9cc72.tar.gz eeshow-da077cfcc19b21ebc994e6d1fb5ab85c99f9cc72.tar.bz2 eeshow-da077cfcc19b21ebc994e6d1fb5ab85c99f9cc72.zip |
main.h (usage): add __attribute__((noreturn))
This way, older versions of gcc will not complain about eetest's "main"
ending with a call to "usage".
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,6 +13,6 @@ #ifndef MAIN_H #define MAIN_H -void usage(const char *name); +void __attribute__((noreturn)) usage(const char *name); #endif /* !MAIN_H */ |