summaryrefslogtreecommitdiff
path: root/pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch
blob: 1a1b5c6e60acbd6f8d782328d3597ef39a08a4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 651393ea7aeb6e0a14cd35e72ca2350656388dc4 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Mon, 1 Jul 2019 22:52:11 -0700
Subject: [PATCH] Use __attribute__ consistently

---
 src/common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common.h b/src/common.h
index 9a68531..0e13fb3 100644
--- a/src/common.h
+++ b/src/common.h
@@ -41,12 +41,12 @@ extern int atari_format;	/* Use Atari variation of MS-DOS FS format */
 extern const char *program_name;
 
 void die(const char *msg, ...)
-    __attribute((noreturn, format(printf, 1, 2)));
+    __attribute__ ((noreturn, format(printf, 1, 2)));
 
 /* Displays a prinf-style message and terminates the program. */
 
 void pdie(const char *msg, ...)
-    __attribute((noreturn, format(printf, 1, 2)));
+    __attribute__ ((noreturn, format(printf, 1, 2)));
 
 /* Like die, but appends an error message according to the state of errno. */
 
-- 
2.30.0