[compiler-rt] f51e55e - [compiler-rt] [netbsd] Reintroduce __sanitizer_protoent
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 02:46:55 PDT 2020
Author: Kamil Rytarowski
Date: 2020-09-10T11:46:41+02:00
New Revision: f51e55e09eefbbc57fdd802f5f17e34749ba03ec
URL: https://github.com/llvm/llvm-project/commit/f51e55e09eefbbc57fdd802f5f17e34749ba03ec
DIFF: https://github.com/llvm/llvm-project/commit/f51e55e09eefbbc57fdd802f5f17e34749ba03ec.diff
LOG: [compiler-rt] [netbsd] Reintroduce __sanitizer_protoent
Partial revert of https://reviews.llvm.org/D82424
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
index ae54a8cf105e..d80280d9bf8c 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
@@ -129,6 +129,12 @@ struct __sanitizer_shmid_ds {
void *_shm_internal;
};
+struct __sanitizer_protoent {
+ char *p_name;
+ char **p_aliases;
+ int p_proto;
+};
+
struct __sanitizer_netent {
char *n_name;
char **n_aliases;
More information about the llvm-commits
mailing list