summaryrefslogtreecommitdiffstats
path: root/libc/upstream-openbsd
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-19 19:30:11 -0800
committerElliott Hughes <enh@google.com>2014-12-19 19:30:11 -0800
commit998f2d5a50adffcc0447912fb6a7af2dac7accf1 (patch)
treefd23600f7789cf9e5dee8c7e63eab45dbe8e1db5 /libc/upstream-openbsd
parent7eb9b6c537c32280571fead8676634c3dfc6388e (diff)
downloadbionic-998f2d5a50adffcc0447912fb6a7af2dac7accf1.zip
bionic-998f2d5a50adffcc0447912fb6a7af2dac7accf1.tar.gz
bionic-998f2d5a50adffcc0447912fb6a7af2dac7accf1.tar.bz2
Remove more BSD cruft from the public headers.
Change-Id: I1e3097f745b526db448bf72fbc05fb2ba23929a0
Diffstat (limited to 'libc/upstream-openbsd')
-rw-r--r--libc/upstream-openbsd/android/include/openbsd-compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h
index 8386ba5..8783467 100644
--- a/libc/upstream-openbsd/android/include/openbsd-compat.h
+++ b/libc/upstream-openbsd/android/include/openbsd-compat.h
@@ -35,6 +35,9 @@
/* Ignore all __weak_alias in OpenBSD. */
#define __weak_alias(alias,sym)
+/* Ignore all __warn_references in OpenBSD. */
+#define __warn_references(sym,msg)
+
/* OpenBSD's <ctype.h> uses these names, which conflicted with stlport.
* Additionally, we changed the numeric/digit type from N to D for libcxx.
*/