Module Name: src
Committed By: drochner
Date: Tue Jul 21 19:56:56 UTC 2009
Modified Files:
src/common/lib/libc/string: popcount32.c popcount64.c
Log Message:
remove stray semicolons, makes lint happy and lets the libc build proceed
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/popcount32.c
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/popcount64.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/popcount32.c
diff -u src/common/lib/libc/string/popcount32.c:1.2 src/common/lib/libc/string/popcount32.c:1.3
--- src/common/lib/libc/string/popcount32.c:1.2 Tue Jul 21 17:37:51 2009
+++ src/common/lib/libc/string/popcount32.c Tue Jul 21 19:56:55 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: popcount32.c,v 1.2 2009/07/21 17:37:51 joerg Exp $ */
+/* $NetBSD: popcount32.c,v 1.3 2009/07/21 19:56:55 drochner Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: popcount32.c,v 1.2 2009/07/21 17:37:51 joerg Exp $");
+__RCSID("$NetBSD: popcount32.c,v 1.3 2009/07/21 19:56:55 drochner Exp $");
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <limits.h>
@@ -69,9 +69,9 @@
}
#if UINT_MAX == 0xffffffffU
-__strong_alias(popcount, popcount32);
+__strong_alias(popcount, popcount32)
#endif
#if ULONG_MAX == 0xffffffffU
-__strong_alias(popcountl, popcount32);
+__strong_alias(popcountl, popcount32)
#endif
Index: src/common/lib/libc/string/popcount64.c
diff -u src/common/lib/libc/string/popcount64.c:1.3 src/common/lib/libc/string/popcount64.c:1.4
--- src/common/lib/libc/string/popcount64.c:1.3 Tue Jul 21 17:14:12 2009
+++ src/common/lib/libc/string/popcount64.c Tue Jul 21 19:56:55 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: popcount64.c,v 1.3 2009/07/21 17:14:12 joerg Exp $ */
+/* $NetBSD: popcount64.c,v 1.4 2009/07/21 19:56:55 drochner Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: popcount64.c,v 1.3 2009/07/21 17:14:12 joerg Exp $");
+__RCSID("$NetBSD: popcount64.c,v 1.4 2009/07/21 19:56:55 drochner Exp $");
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <limits.h>
@@ -73,10 +73,10 @@
#endif
#if ULONG_MAX == 0xffffffffffffffffULL
-__strong_alias(popcountl, popcount64);
+__strong_alias(popcountl, popcount64)
#endif
#if ULLONG_MAX == 0xffffffffffffffffULL
-__strong_alias(popcountll, popcount64);
+__strong_alias(popcountll, popcount64)
#endif