Use more gcc attributes

git-svn-id: svn://svn.cc65.org/cc65/trunk@289 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-08-19 18:16:54 +00:00
parent 58e6c61a68
commit 66b40d1a84
6 changed files with 26 additions and 12 deletions

View File

@@ -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