summaryrefslogtreecommitdiffstats
path: root/cmds/keystore/keystore_get.h
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
commit23c7adc5e9e27185ca0a69974a8268ec9e86b9b9 (patch)
tree8a37d6dd1a4d4611fc7e26d86cdf4a7d540e3986 /cmds/keystore/keystore_get.h
parent675e4d3db972e621b1785aa7a4b8aeecee7dbbe4 (diff)
downloadframeworks_native-23c7adc5e9e27185ca0a69974a8268ec9e86b9b9.zip
frameworks_native-23c7adc5e9e27185ca0a69974a8268ec9e86b9b9.tar.gz
frameworks_native-23c7adc5e9e27185ca0a69974a8268ec9e86b9b9.tar.bz2
keystore: Fix a compile warning.
Diffstat (limited to 'cmds/keystore/keystore_get.h')
-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;