aboutsummaryrefslogtreecommitdiffstats
path: root/enaligned_alloczn.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-06-11 17:04:35 +0200
committerMattias Andrée <maandree@kth.se>2022-06-11 17:04:35 +0200
commitc76c12f0d0ea8c2f5fa6853636e3e7c2021ac93c (patch)
tree711e295bfd186d6bee9d2b53eb4c9fc2f058f136 /enaligned_alloczn.c
parentFix warnings, replace some static inline with inline + extern inline, and fix glibc support (diff)
downloadlibsimple-c76c12f0d0ea8c2f5fa6853636e3e7c2021ac93c.tar.gz
libsimple-c76c12f0d0ea8c2f5fa6853636e3e7c2021ac93c.tar.bz2
libsimple-c76c12f0d0ea8c2f5fa6853636e3e7c2021ac93c.tar.xz
Remove `static` from some `static inline`
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'enaligned_alloczn.c')
-rw-r--r--enaligned_alloczn.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/enaligned_alloczn.c b/enaligned_alloczn.c
new file mode 100644
index 0000000..55f00d7
--- /dev/null
+++ b/enaligned_alloczn.c
@@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#include "libsimple.h"
+#ifndef TEST
+
+
+extern inline void *libsimple_enaligned_alloczn(int, int, size_t, size_t, ...);
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif