summaryrefslogtreecommitdiff
path: root/LibC/sys/cdefs.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-31 15:53:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-10-31 15:53:11 +0100
commit2fdc7c2c6094f478f2a7d192f0794195a10a7f2c (patch)
tree4bd83decbf1b1e46be330d064885b815bf2af25f /LibC/sys/cdefs.h
parent71c9b09e8c698da0964e104fb4aec4c591b731e4 (diff)
downloadserenity-2fdc7c2c6094f478f2a7d192f0794195a10a7f2c.zip
Use ALWAYS_INLINE for ctype inlines.
Diffstat (limited to 'LibC/sys/cdefs.h')
-rw-r--r--LibC/sys/cdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/LibC/sys/cdefs.h b/LibC/sys/cdefs.h
index c2285b88a8..68f4045e31 100644
--- a/LibC/sys/cdefs.h
+++ b/LibC/sys/cdefs.h
@@ -1,5 +1,7 @@
#pragma once
+#define ALWAYS_INLINE inline __attribute__ ((always_inline))
+
#ifdef __cplusplus
#define __BEGIN_DECLS extern "C" {
#define __END_DECLS }