Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Remove duplicate "const" modifier found by cl...
details: https://anonhg.NetBSD.org/src/rev/90a9cb2cc598
branches: trunk
changeset: 782556:90a9cb2cc598
user: apb <apb%NetBSD.org@localhost>
date: Tue Nov 06 09:03:03 2012 +0000
description:
Remove duplicate "const" modifier found by clang -Wduplicate-decl-specifier
diffstat:
lib/libpthread/pthread.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 6d0f39337715 -r 90a9cb2cc598 lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c Tue Nov 06 07:59:09 2012 +0000
+++ b/lib/libpthread/pthread.c Tue Nov 06 09:03:03 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.139 2012/11/03 23:42:27 rmind Exp $ */
+/* $NetBSD: pthread.c,v 1.140 2012/11/06 09:03:03 apb Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.139 2012/11/03 23:42:27 rmind Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.140 2012/11/06 09:03:03 apb Exp $");
#define __EXPOSE_STACK 1
@@ -1305,8 +1305,8 @@
static signed int
pthread__cmp(void *ctx, const void *n1, const void *n2)
{
- const uintptr_t const p1 = (const uintptr_t)n1;
- const uintptr_t const p2 = (const uintptr_t)n2;
+ const uintptr_t p1 = (const uintptr_t)n1;
+ const uintptr_t p2 = (const uintptr_t)n2;
if (p1 < p2)
return -1;
Home |
Main Index |
Thread Index |
Old Index