[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/7] maint: remove unused __attribute__ defn
From: |
Paul Eggert |
Subject: |
[PATCH 3/7] maint: remove unused __attribute__ defn |
Date: |
Sun, 31 Oct 2021 22:37:26 -0700 |
* gl/lib/randread.c (__attribute__): Remove; no longer
used after the recent _Noreturn change.
---
gl/lib/randread.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/gl/lib/randread.c b/gl/lib/randread.c
index 5ed42b547..6c29a62e4 100644
--- a/gl/lib/randread.c
+++ b/gl/lib/randread.c
@@ -45,12 +45,6 @@
#include "unlocked-io.h"
#include "xalloc.h"
-#ifndef __attribute__
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
-# define __attribute__(x) /* empty */
-# endif
-#endif
-
#ifndef MIN
# define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif
--
2.31.1
- [PATCH 1/7] maint: prefer attribute.h in .c files, Paul Eggert, 2021/11/01
- [PATCH 3/7] maint: remove unused __attribute__ defn,
Paul Eggert <=
- [PATCH 2/7] b2sum: simplify attribute usage, Paul Eggert, 2021/11/01
- [PATCH 4/7] maint: modernize attribute usage, Paul Eggert, 2021/11/01
- [PATCH 5/7] maint: enable -Wsuggest-attribute=format, Paul Eggert, 2021/11/01
- [PATCH 7/7] maint: use minmax.h instead of rolling our own, Paul Eggert, 2021/11/01
- [PATCH 6/7] maint: add function attributes to .h files, Paul Eggert, 2021/11/01
- Re: [PATCH 1/7] maint: prefer attribute.h in .c files, Pádraig Brady, 2021/11/01