summaryrefslogtreecommitdiff
path: root/include/libc-shim/features.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
commit8cace3f05003c6cb4d38c36890055f03151c2ad4 (patch)
treeaa739deaac0266f17c4e91b333957501cb1ea2e9 /include/libc-shim/features.h
parent3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee (diff)
downloadlume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.gz
lume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.xz
Remove old code
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'include/libc-shim/features.h')
-rw-r--r--include/libc-shim/features.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/libc-shim/features.h b/include/libc-shim/features.h
deleted file mode 100644
index a3466c8..0000000
--- a/include/libc-shim/features.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Shim: musl expects this header */
-#ifndef _FEATURES_H
-#define _FEATURES_H
-
-/* weak_alias: musl uses this for symbol aliasing (e.g. __memrchr -> memrchr) */
-#define weak_alias(old, new) \
- extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
-
-/* hidden attribute used by some musl sources */
-#define hidden __attribute__((__visibility__("hidden")))
-
-#endif