Use more gcc attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@289 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
|
||||
|
||||
|
||||
#include "attrib.h"
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
@@ -69,13 +73,13 @@ void InitCmdLine (unsigned aArgCount, char* aArgVec[], const char* aProgName);
|
||||
* array. Both arguments are remembered in static storage.
|
||||
*/
|
||||
|
||||
void UnknownOption (const char* Opt);
|
||||
/* Print an error about an unknown option. */
|
||||
void UnknownOption (const char* Opt) attribute ((noreturn));
|
||||
/* Print an error about an unknown option and die. */
|
||||
|
||||
void NeedArg (const char* Opt);
|
||||
void NeedArg (const char* Opt) attribute ((noreturn));
|
||||
/* Print an error about a missing option argument and exit. */
|
||||
|
||||
void InvDef (const char* Def);
|
||||
void InvDef (const char* Def) attribute ((noreturn));
|
||||
/* Print an error about an invalid definition and die */
|
||||
|
||||
const char* GetArg (int* ArgNum, unsigned Len);
|
||||
@@ -91,6 +95,6 @@ void LongOption (int* ArgNum, const LongOpt* OptTab, unsigned OptCount);
|
||||
/* End of cmdline.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user