Skip to content
Browse files

further prototype fixes

git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@553 b0b603af-a30f-0410-a34e-baf09ae79d0b
  • Loading branch information...
1 parent 807028d commit 0aeb6121f4eee200bc4b52e049ec2b46e1869902 Paul Lindner committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 thread.c
View
4 thread.c
@@ -387,7 +387,7 @@ item *mt_item_alloc(char *key, size_t nkey, int flags, rel_time_t exptime, int n
* Returns an item if it hasn't been marked as expired or deleted,
* lazy-expiring as needed.
*/
-item *mt_item_get_notedeleted(char *key, size_t nkey, bool *delete_locked) {
+item *mt_item_get_notedeleted(const char *key, const size_t nkey, bool *delete_locked) {
item *it;
pthread_mutex_lock(&cache_lock);
it = do_item_get_notedeleted(key, nkey, delete_locked);
@@ -398,7 +398,7 @@ item *mt_item_get_notedeleted(char *key, size_t nkey, bool *delete_locked) {
/*
* Returns an item whether or not it's been marked as expired or deleted.
*/
-item *mt_item_get_nocheck(char *key, size_t nkey) {
+item *mt_item_get_nocheck(const char *key, const size_t nkey) {
item *it;
pthread_mutex_lock(&cache_lock);

0 comments on commit 0aeb612

Please sign in to comment.
Something went wrong with that request. Please try again.