summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-09 18:10:20 -0700
committerElliott Hughes <enh@google.com>2014-06-09 18:10:20 -0700
commit809093bc21d8a6f7d7f8c31a7821f3112d1134ce (patch)
tree7d11b3a4b0d9f37dc4c7088f4ea5e31955b82f59
parentbdcab25ee6aebe2f5653fdc8f73e6bd94dadb763 (diff)
downloadbionic-809093bc21d8a6f7d7f8c31a7821f3112d1134ce.zip
bionic-809093bc21d8a6f7d7f8c31a7821f3112d1134ce.tar.gz
bionic-809093bc21d8a6f7d7f8c31a7821f3112d1134ce.tar.bz2
Hide rand48 implementation details.
Bug: 11156955 Change-Id: I130272286989487dc22e246fb4ffbee5230225c4
-rw-r--r--libc/upstream-netbsd/android/include/rand48.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/upstream-netbsd/android/include/rand48.h b/libc/upstream-netbsd/android/include/rand48.h
index 1ad8b0d..1279906 100644
--- a/libc/upstream-netbsd/android/include/rand48.h
+++ b/libc/upstream-netbsd/android/include/rand48.h
@@ -18,10 +18,10 @@
#include <stdlib.h>
-extern void __dorand48(unsigned short[3]);
-extern unsigned short __rand48_seed[3];
-extern unsigned short __rand48_mult[3];
-extern unsigned short __rand48_add;
+__LIBC_HIDDEN__ void __dorand48(unsigned short[3]);
+__LIBC_HIDDEN__ unsigned short __rand48_seed[3];
+__LIBC_HIDDEN__ unsigned short __rand48_mult[3];
+__LIBC_HIDDEN__ unsigned short __rand48_add;
#define RAND48_SEED_0 (0x330e)
#define RAND48_SEED_1 (0xabcd)