X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ferror.h;h=60bcbe85df5cef10bbda9f2c3f4fd615d4a0a85c;hb=f9d47b5bba8416419cf3bcd3aa23c2d40a05fcac;hp=6eb77a14b12bd1a7aa3905a421f51072ba080304;hpb=4944c86a9318bc5b5578ab145a95c116ffd2c9fd;p=pspp diff --git a/src/error.h b/src/error.h index 6eb77a14b1..60bcbe85df 100644 --- a/src/error.h +++ b/src/error.h @@ -70,9 +70,9 @@ extern int err_verbosity; /* Functions. */ void msg (int class, const char *format, ...) - __attribute__ ((format (printf, 2, 3))); + PRINTF_FORMAT (2, 3); void tmsg (int class, const char *title, const char *format, ...) - __attribute__ ((format (printf, 3, 4))); + PRINTF_FORMAT (3, 4); void err_failure (void); void err_cond_fail (void); @@ -84,7 +84,7 @@ void err_location (struct file_locator *); /* Obscure functions. */ void err_break (void); void err_check_count (void); -void err_hcf (int exit_code) __attribute__ ((noreturn)); +void err_hcf (int exit_code) NO_RETURN; void err_vmsg (const struct error *); #endif /* error.h */