1From ff921b142f8df1ec718a7d1b398821eaaa8c6aac Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Mon, 1 Jul 2019 22:52:11 -0700
4Subject: [PATCH] Use __attribute__ consistently
5
6---
7 src/common.h | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
9
10diff --git a/src/common.h b/src/common.h
11index 9a68531..2cc4559 100644
12--- a/src/common.h
13+++ b/src/common.h
14@@ -41,12 +41,12 @@ extern int atari_format; /* Use Atari variation of MS-DOS FS format */
15 extern const char *program_name;
16
17 void die(const char *msg, ...)
18- __attribute((noreturn, format(printf, 1, 2)));
19+ __attribute__ ((noreturn, format(printf, 1, 2)));
20
21 /* Displays a prinf-style message and terminates the program. */
22
23 void pdie(const char *msg, ...)
24- __attribute((noreturn, format(printf, 1, 2)));
25+ __attribute__ ((noreturn, format(printf, 1, 2)));
26
27 /* Like die, but appends an error message according to the state of errno. */
28
29@@ -68,7 +68,7 @@ int min(int a, int b);
30 /* Returns the smaller integer value of a and b. */
31
32 int xasprintf(char **strp, const char *fmt, ...)
33- __attribute((format(printf, 2, 3)));
34+ __attribute__ ((format(printf, 2, 3)));
35
36 /* Runs asprintf() and terminates the program if it fails. */
37
38--
392.31.1
40