commit | 506c6deff726c8c052ff5abb0cef57e63707bd1c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jan 15 16:30:18 2016 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Jan 15 16:30:18 2016 -0800 |
tree | 42a751602c065bdb8c76ef53dffaca585934614a | |
parent | 299798fe02cd43c21e62352f11d7be30d85e0f96 [diff] [blame] |
Sync with upstream OpenBSD. Also some minor build cleanup. Change-Id: Ibd20602d7ea45685f0c47fceb00ffd6c7ae35954
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h index b07f55d..caea45a 100644 --- a/libc/upstream-openbsd/android/include/openbsd-compat.h +++ b/libc/upstream-openbsd/android/include/openbsd-compat.h
@@ -32,8 +32,9 @@ #define _warn warn #define _warnx warnx -/* Ignore all __weak_alias in OpenBSD. */ -#define __weak_alias(alias,sym) +/* Ignore all DEF_STRONG/DEF_WEAK in OpenBSD. */ +#define DEF_STRONG(sym) +#define DEF_WEAK(sym) /* Ignore all __warn_references in OpenBSD. */ #define __warn_references(sym,msg)