Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/gnu-efi/dist/lib No need for private versio...
details: https://anonhg.NetBSD.org/src/rev/9dc4fd0e6ae8
branches: trunk
changeset: 992175:9dc4fd0e6ae8
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Aug 16 18:25:45 2018 +0000
description:
No need for private versions of memset/memcpy on NetBSD
diffstat:
sys/external/bsd/gnu-efi/dist/lib/init.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 0fc5f110e24f -r 9dc4fd0e6ae8 sys/external/bsd/gnu-efi/dist/lib/init.c
--- a/sys/external/bsd/gnu-efi/dist/lib/init.c Thu Aug 16 18:24:35 2018 +0000
+++ b/sys/external/bsd/gnu-efi/dist/lib/init.c Thu Aug 16 18:25:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.1.1.2 2018/08/16 18:17:47 jmcneill Exp $ */
+/* $NetBSD: init.c,v 1.2 2018/08/16 18:25:45 jmcneill Exp $ */
/*++
@@ -185,6 +185,7 @@
}
}
+#if !defined(__NetBSD__)
/*
* Calls to memset/memcpy may be emitted implicitly by GCC or MSVC
* even when -ffreestanding or /NODEFAULTLIB are in effect.
@@ -214,3 +215,4 @@
return dest;
}
+#endif
Home |
Main Index |
Thread Index |
Old Index