summaryrefslogtreecommitdiffstats
path: root/libc/upstream-openbsd
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-23 20:14:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-23 20:14:52 +0000
commit50e15a2ec7189eb3279cbf546679ccac4a138e90 (patch)
treedf26d8e158188987b69aff5cd26446c82f4a30fe /libc/upstream-openbsd
parentba09edcb41799e037780b92ddcbe6bd08bac5996 (diff)
parent998f2d5a50adffcc0447912fb6a7af2dac7accf1 (diff)
downloadbionic-50e15a2ec7189eb3279cbf546679ccac4a138e90.zip
bionic-50e15a2ec7189eb3279cbf546679ccac4a138e90.tar.gz
bionic-50e15a2ec7189eb3279cbf546679ccac4a138e90.tar.bz2
Merge "Remove more BSD cruft from the public headers."
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.
*/