diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:01:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:01:53 +0200 |
commit | 12bcba8b89ad503cbdfb8261c5c26b9f87860345 (patch) | |
tree | 640d2f57cd4f9e5059db9b0c533b7919d4ddb52f /src/tree.h | |
parent | d8a8fa63b40801f597cc374bcfcbdd397aa0a670 (diff) | |
download | mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.gz mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.xz mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.zip |
pass constant pointers
And again, convert arguments to const.
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 3 |
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 |