Module Name: src
Committed By: joerg
Date: Mon Jul 1 20:51:59 UTC 2013
Modified Files:
src/common/lib/libc/string: strcmp.c
Log Message:
Don't pick up strcmp as macro from libkern.h.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strcmp.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/strcmp.c
diff -u src/common/lib/libc/string/strcmp.c:1.2 src/common/lib/libc/string/strcmp.c:1.3
--- src/common/lib/libc/string/strcmp.c:1.2 Mon Jun 4 18:19:27 2007
+++ src/common/lib/libc/string/strcmp.c Mon Jul 1 20:51:59 2013
@@ -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 @@ __RCSID("$NetBSD: strcmp.c,v 1.2 2007/06
#include <lib/libkern/libkern.h>
#endif
+#undef strcmp
+
/*
* Compare strings.
*/