Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys remove bogus const quals
details: https://anonhg.NetBSD.org/src/rev/bfc714062a6f
branches: trunk
changeset: 777390:bfc714062a6f
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Feb 17 08:20:55 2012 +0000
description:
remove bogus const quals
diffstat:
sys/sys/rbtree.h | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (22 lines):
diff -r 475e75850904 -r bfc714062a6f sys/sys/rbtree.h
--- a/sys/sys/rbtree.h Fri Feb 17 08:13:18 2012 +0000
+++ b/sys/sys/rbtree.h Fri Feb 17 08:20:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rbtree.h,v 1.1 2010/09/25 01:42:40 matt Exp $ */
+/* $NetBSD: rbtree.h,v 1.2 2012/02/17 08:20:55 yamt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -137,10 +137,8 @@
* return 0 if they are considered same.
*/
-typedef signed int (*const rbto_compare_nodes_fn)(void *,
- const void *, const void *);
-typedef signed int (*const rbto_compare_key_fn)(void *,
- const void *, const void *);
+typedef signed int (*rbto_compare_nodes_fn)(void *, const void *, const void *);
+typedef signed int (*rbto_compare_key_fn)(void *, const void *, const void *);
typedef struct {
rbto_compare_nodes_fn rbto_compare_nodes;
Home |
Main Index |
Thread Index |
Old Index