summaryrefslogtreecommitdiff
path: root/pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-03-02 01:31:25 -0800
committerMichael Forney <mforney@mforney.org>2021-03-02 16:20:18 -0800
commit1e17f569cbf756d1106e3ad60aa163f8bc863f18 (patch)
treeba5ebd760d15a04f87ab4c0c55c83e61f935b490 /pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch
parentcc24b86146331590f52e49c4aaa1a1d620bfe921 (diff)
dosfstools: Update to 4.2
Diffstat (limited to 'pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch')
-rw-r--r--pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch b/pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch
new file mode 100644
index 00000000..1a1b5c6e
--- /dev/null
+++ b/pkg/dosfstools/patch/0001-Use-__attribute__-consistently.patch
@@ -0,0 +1,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
+