summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2009-07-16 14:45:11 +0800
committerChia-chi Yeh <chiachi@android.com>2009-07-16 14:45:11 +0800
commitef33cddcce43b2ca430aec2d99512e2667e56b13 (patch)
tree6bf29c824a82969b80c71e0211ad8790d770801a /cmds
parentba3ba57921dedaaef669719c0359c0caf60e008b (diff)
downloadframeworks_base-ef33cddcce43b2ca430aec2d99512e2667e56b13.zip
frameworks_base-ef33cddcce43b2ca430aec2d99512e2667e56b13.tar.gz
frameworks_base-ef33cddcce43b2ca430aec2d99512e2667e56b13.tar.bz2
keystore: Fix a compile warning.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/keystore/keystore_get.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/keystore/keystore_get.h b/cmds/keystore/keystore_get.h
index a7fd9a5..7665e81 100644
--- a/cmds/keystore/keystore_get.h
+++ b/cmds/keystore/keystore_get.h
@@ -29,7 +29,7 @@
* is returned. Otherwise it returns the value in dynamically allocated memory
* and sets the size if the pointer is not NULL. One can release the memory by
* calling free(). */
-static char *keystore_get(char *key, int *size)
+static char *keystore_get(const char *key, int *size)
{
char buffer[MAX_KEY_VALUE_LENGTH];
char *value;