Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/string avoid redefinition warning for __OPTI...
details: https://anonhg.NetBSD.org/src/rev/dcbf9836674a
branches: trunk
changeset: 961392:dcbf9836674a
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Apr 17 21:43:47 2021 +0000
description:
avoid redefinition warning for __OPTIMIZE_SIZE__.
diffstat:
common/lib/libc/string/memset2.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 696030ff5ec9 -r dcbf9836674a common/lib/libc/string/memset2.c
--- a/common/lib/libc/string/memset2.c Sat Apr 17 21:37:21 2021 +0000
+++ b/common/lib/libc/string/memset2.c Sat Apr 17 21:43:47 2021 +0000
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: memset2.c,v 1.8 2021/04/17 08:06:58 simonb Exp $");
+__RCSID("$NetBSD: memset2.c,v 1.9 2021/04/17 21:43:47 mrg Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -47,7 +47,8 @@
#include <sys/endian.h>
#include <machine/types.h>
-#define __OPTIMIZE_SIZE__ /* other code path is very broken */
+#undef __OPTIMIZE_SIZE__
+#define __OPTIMIZE_SIZE__ 1 /* other code path is very broken */
#ifdef TEST
#include <assert.h>
Home |
Main Index |
Thread Index |
Old Index