From a0cd09d576acbe8a956c004579bab98fc5112bfe Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 10 Feb 2010 20:00:54 -0800 Subject: [PATCH] q2c: Mark functions that do not return NO_RETURN. --- src/language/lexer/q2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/language/lexer/q2c.c b/src/language/lexer/q2c.c index cf8aab1b..f2617092 100644 --- a/src/language/lexer/q2c.c +++ b/src/language/lexer/q2c.c @@ -106,8 +106,8 @@ hcf (void) exit (EXIT_FAILURE); } -int fail (const char *, ...) PRINTF_FORMAT (1, 2); -int error (const char *, ...) PRINTF_FORMAT (1, 2); +int fail (const char *, ...) PRINTF_FORMAT (1, 2) NO_RETURN; +int error (const char *, ...) PRINTF_FORMAT (1, 2) NO_RETURN; /* Output an error message and terminate unsuccessfully. */ int -- 2.30.2