Skip to content
Snippets Groups Projects
Commit 279f163b authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Add __attribute__ to declaration.

parent d28908d4
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,13 @@ parse_intarg(const char msg[])
return (int)temp;
}
/* If we're not using GNU C, elide __attribute__ */
#if ! defined __GNUC__ && ! defined __attribute__
# define __attribute__(x) /*NOTHING*/
#endif
static void
allocError(const char *msg) __attribute__((noreturn));
static void
allocError(const char *msg)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment