summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-06 23:06:13 +0000
committerguenther <guenther@openbsd.org>2015-09-06 23:06:13 +0000
commit92dcb47b152d40f968b7414d29d68af9664883b2 (patch)
treeafeecac2a2087b8c443c3bb43da773f9df3abc01 /lib/libc
parentWe no longer need to grab the kernel lock for allocating and freeing pages (diff)
downloadwireguard-openbsd-92dcb47b152d40f968b7414d29d68af9664883b2.tar.xz
wireguard-openbsd-92dcb47b152d40f968b7414d29d68af9664883b2.zip
Document the rule for keeping static and shared archs in sync
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/Symbols.list8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/Symbols.list b/lib/libc/Symbols.list
index c74a51b4d17..8b964f0f0d0 100644
--- a/lib/libc/Symbols.list
+++ b/lib/libc/Symbols.list
@@ -1,3 +1,11 @@
+/*
+ * In order to guarantee that static and shared archs see the same "public"
+ * symbols, this file should always include all the non-static symbols that
+ * are in the application namespace. So, if a symbol starts with a letter,
+ * don't delete it from here without either making it static or renaming it
+ * to have a leading underbar.
+ */
+
/* symbols that no one should be using currently */
_init
_fini