Module Name: src Committed By: mrg Date: Sat Apr 17 21:43:47 UTC 2021
Modified Files: src/common/lib/libc/string: memset2.c Log Message: avoid redefinition warning for __OPTIMIZE_SIZE__. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/string/memset2.c diff -u src/common/lib/libc/string/memset2.c:1.8 src/common/lib/libc/string/memset2.c:1.9 --- src/common/lib/libc/string/memset2.c:1.8 Sat Apr 17 08:06:58 2021 +++ src/common/lib/libc/string/memset2.c Sat Apr 17 21:43:47 2021 @@ -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 @@ __RCSID("$NetBSD: memset2.c,v 1.8 2021/0 #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>