summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 12:10:50 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 12:10:50 +0200
commit2bfd3a6ab2cdcc72d6918624ceaba6ed4d263771 (patch)
tree7f1928bc2e6b433e31c6239ad53882ef2185bf59 /src/osd
parent989c67cea49ecefc974e3cf21d227ffc17d35d07 (diff)
[[noreturn]] instead of ATTR_NORETURN (nw)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/osdcomm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h
index 0898448a364..814f77e73cd 100644
--- a/src/osd/osdcomm.h
+++ b/src/osd/osdcomm.h
@@ -33,7 +33,6 @@
/* Some optimizations/warnings cleanups for GCC */
#if defined(__GNUC__)
#define ATTR_UNUSED __attribute__((__unused__))
-#define ATTR_NORETURN __attribute__((noreturn))
#define ATTR_PRINTF(x,y) __attribute__((format(printf, x, y)))
#define ATTR_CONST __attribute__((const))
#define ATTR_FORCE_INLINE __attribute__((always_inline))
@@ -44,7 +43,6 @@
#define RESTRICT __restrict__
#else
#define ATTR_UNUSED
-#define ATTR_NORETURN __declspec(noreturn)
#define ATTR_PRINTF(x,y)
#define ATTR_CONST
#define ATTR_FORCE_INLINE __forceinline