summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/icdb.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-05-30 03:06:58 +0000
committerguenther <guenther@openbsd.org>2016-05-30 03:06:58 +0000
commitf4e500082efbf9f6a11d640c49e189b7340ad5b2 (patch)
tree67da66efe441126234f23a4c2900cd185f88b7fd /lib/libc/stdlib/icdb.c
parentStop publicly declaring _yp_dobind() and struct dom_binding, closing out (diff)
downloadwireguard-openbsd-f4e500082efbf9f6a11d640c49e189b7340ad5b2.tar.xz
wireguard-openbsd-f4e500082efbf9f6a11d640c49e189b7340ad5b2.zip
The icdb magic number doesn't need to be visible to static links
ok tedu@
Diffstat (limited to 'lib/libc/stdlib/icdb.c')
-rw-r--r--lib/libc/stdlib/icdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/icdb.c b/lib/libc/stdlib/icdb.c
index 7a6f3df1bbf..5bf549ecb33 100644
--- a/lib/libc/stdlib/icdb.c
+++ b/lib/libc/stdlib/icdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icdb.c,v 1.5 2015/12/27 01:26:47 chl Exp $ */
+/* $OpenBSD: icdb.c,v 1.6 2016/05/30 03:06:58 guenther Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -100,7 +100,7 @@ struct icdb {
int fd;
};
-const uint32_t magic = 0x1ca9d0b7;
+static const uint32_t magic = 0x1ca9d0b7;
static uint32_t
roundup(uint32_t num)