summaryrefslogtreecommitdiffstats
path: root/sail/array.h
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2010-12-08 17:06:35 +0000
committerjoerg <joerg@NetBSD.org>2010-12-08 17:06:35 +0000
commit399ca41acac85ca19a46495bbf7690ac56666be0 (patch)
tree5ac0f8d9eeb58474bd2c2e6fa9bf808c3774a0d3 /sail/array.h
parentea061499cfca6ed03384392d6972b6527402a242 (diff)
downloadbsdgames-darwin-399ca41acac85ca19a46495bbf7690ac56666be0.tar.gz
bsdgames-darwin-399ca41acac85ca19a46495bbf7690ac56666be0.tar.zst
bsdgames-darwin-399ca41acac85ca19a46495bbf7690ac56666be0.zip
Use __c99inline from sys/cdefs.h
Diffstat (limited to 'sail/array.h')
-rw-r--r--sail/array.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sail/array.h b/sail/array.h
index efbaf99a..d6545df0 100644
--- a/sail/array.h
+++ b/sail/array.h
@@ -30,8 +30,6 @@
#ifndef ARRAY_H
#define ARRAY_H
-#include "inlinedefs.h"
-
#define ARRAYS_CHECKED
#ifdef ARRAYS_CHECKED
@@ -65,7 +63,7 @@ void array_remove(struct array *a, unsigned index_);
// inlining for base operations
#ifndef ARRAYINLINE
-#define ARRAYINLINE INLINE
+#define ARRAYINLINE __c99inline
#endif
ARRAYINLINE unsigned