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 Don't pick up strcmp as macro from li...
details: https://anonhg.NetBSD.org/src/rev/9689c98147fd
branches: trunk
changeset: 787755:9689c98147fd
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Jul 01 20:51:59 2013 +0000
description:
Don't pick up strcmp as macro from libkern.h.
diffstat:
common/lib/libc/string/strcmp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 90c55ee75a0a -r 9689c98147fd common/lib/libc/string/strcmp.c
--- a/common/lib/libc/string/strcmp.c Mon Jul 01 20:02:15 2013 +0000
+++ b/common/lib/libc/string/strcmp.c Mon Jul 01 20:51:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: strcmp.c,v 1.2 2007/06/04 18:19:27 christos Exp $ */
+/* $NetBSD: strcmp.c,v 1.3 2013/07/01 20:51:59 joerg Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)strcmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: strcmp.c,v 1.2 2007/06/04 18:19:27 christos Exp $");
+__RCSID("$NetBSD: strcmp.c,v 1.3 2013/07/01 20:51:59 joerg Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -48,6 +48,8 @@
#include <lib/libkern/libkern.h>
#endif
+#undef strcmp
+
/*
* Compare strings.
*/
Home |
Main Index |
Thread Index |
Old Index