diff options
| author | apb <apb@NetBSD.org> | 2012-11-06 09:03:03 +0000 |
|---|---|---|
| committer | apb <apb@NetBSD.org> | 2012-11-06 09:03:03 +0000 |
| commit | d773058b6b3122dc157d80e8a60ade6cb8875aaa (patch) | |
| tree | 9cfc673de85d74dba948cb0e890d1d5e0db5b647 /lib/libpthread | |
| parent | 930ec5b1652e5179b47687a32ba2fda9965b3bf6 (diff) | |
Remove duplicate "const" modifier found by clang -Wduplicate-decl-specifier
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/pthread.c b/lib/libpthread/pthread.c index 0b4425dd914..b0ac314739d 100644 --- a/lib/libpthread/pthread.c +++ b/lib/libpthread/pthread.c @@ -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 @@ pthread__initmain(pthread_t *newt) 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; |
