rculfhash: constify all key arguments passed to API
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Nov 2011 12:23:19 +0000 (07:23 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Nov 2011 12:23:19 +0000 (07:23 -0500)
commit996ff57cc0490bc4ae26de70e9ebe620ff18515f
tree57e4ba375f0ed39f0cc25323147e3a048ed6333f
parent6f554439fc4efcaa55dbf4fcb8a9d2dac5a4a91e
rculfhash: constify all key arguments passed to API

The hash table never needs to modify the key, it is only ever used for
"match", so it should always be received as a const argument.

Reported-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c
tests/test_urcu_hash.c
urcu/rculfhash.h
This page took 0.024974 seconds and 4 git commands to generate.