commit | 998f2d5a50adffcc0447912fb6a7af2dac7accf1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Dec 19 19:30:11 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Dec 19 19:30:11 2014 -0800 |
tree | fd23600f7789cf9e5dee8c7e63eab45dbe8e1db5 | |
parent | 7eb9b6c537c32280571fead8676634c3dfc6388e [diff] [blame] |
Remove more BSD cruft from the public headers. Change-Id: I1e3097f745b526db448bf72fbc05fb2ba23929a0
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. */