From: Ben Pfaff <blp@gnu.org>
Date: Thu, 11 Feb 2010 04:00:54 +0000 (-0800)
Subject: q2c: Mark functions that do not return NO_RETURN.
X-Git-Tag: v0.7.5~140
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0cd09d576acbe8a956c004579bab98fc5112bfe;p=pspp-builds.git

q2c: Mark functions that do not return NO_RETURN.
---

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