aboutsummaryrefslogtreecommitdiffstats
path: root/src/tree.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:01:53 +0200
committerMax Kellermann <max@duempel.org>2008-08-29 09:01:53 +0200
commit12bcba8b89ad503cbdfb8261c5c26b9f87860345 (patch)
tree640d2f57cd4f9e5059db9b0c533b7919d4ddb52f /src/tree.h
parentd8a8fa63b40801f597cc374bcfcbdd397aa0a670 (diff)
downloadmpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.gz
mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.xz
mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.zip
pass constant pointers
And again, convert arguments to const.
Diffstat (limited to '')
-rw-r--r--src/tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tree.h b/src/tree.h
index 4d30e0106..ef397bbd4 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -57,6 +57,7 @@ int InsertInTree(Tree * tree, void * key, void * data);
int RemoveFromTreeByKey(Tree * tree, void * key);
void RemoveFromTreeByIterator(Tree * tree, TreeIterator * iter);
-int FindInTree(Tree * tree, void * key, TreeIterator * iter /* can be NULL */);
+int FindInTree(Tree * tree, const void * key,
+ TreeIterator * iter /* can be NULL */);
#endif