Module Name: src Committed By: yamt Date: Fri Feb 17 08:20:55 UTC 2012
Modified Files: src/sys/sys: rbtree.h Log Message: remove bogus const quals To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/sys/rbtree.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/rbtree.h diff -u src/sys/sys/rbtree.h:1.1 src/sys/sys/rbtree.h:1.2 --- src/sys/sys/rbtree.h:1.1 Sat Sep 25 01:42:40 2010 +++ src/sys/sys/rbtree.h Fri Feb 17 08:20:55 2012 @@ -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 @@ TAILQ_HEAD(rb_node_qh, rb_node); * 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;