Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/dict.c')
-rw-r--r--nslcd/dict.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nslcd/dict.c b/nslcd/dict.c
index 143ab30..3ad7c02 100644
--- a/nslcd/dict.c
+++ b/nslcd/dict.c
@@ -31,7 +31,7 @@
struct dict_entry {
const char *key;
- const void *value;
+ void *value;
struct dict_entry *next;
};
@@ -87,7 +87,7 @@ DICT *dict_new(void)
return dict;
}
-int dict_put(DICT *dict,const char *key,const void *value)
+int dict_put(DICT *dict,const char *key,void *value)
{
struct dict_entry *entry;
entry=dict_entry_find(dict,key);
@@ -106,7 +106,7 @@ int dict_put(DICT *dict,const char *key,const void *value)
return 0;
}
-const void *dict_get(DICT *dict,const char *key)
+void *dict_get(DICT *dict,const char *key)
{
struct dict_entry *entry;
entry=dict_entry_find(dict,key);
@@ -138,7 +138,7 @@ void dict_values_first(DICT *dict)
dict->ptr=dict->head;
}
-const void *dict_values_next(DICT *dict)
+void *dict_values_next(DICT *dict)
{
struct dict_entry *ptr;
ptr=dict->ptr;