summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2008-06-16 17:01:00 -0400
committerNalin Dahyabhai <nalin@dahyabhai.net>2008-06-16 17:01:00 -0400
commit4f5e14211ff8238f62cb15186379b6b9ecffef51 (patch)
treea7353af5c7d3a7b0db81f36300821c10b371111a /src/map.c
parentacaafdc2b3dbf8b431886f69ede9d3d4e693e869 (diff)
downloadslapi-nis-4f5e14211ff8238f62cb15186379b6b9ecffef51.tar.gz
slapi-nis-4f5e14211ff8238f62cb15186379b6b9ecffef51.tar.xz
slapi-nis-4f5e14211ff8238f62cb15186379b6b9ecffef51.zip
- remove map_data_unset_entry_key(), which isn't being used
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/map.c b/src/map.c
index 0e2c190..24686b0 100644
--- a/src/map.c
+++ b/src/map.c
@@ -723,22 +723,6 @@ map_data_unset_map_entry(struct plugin_state *state,
}
}
-/* Remove the entry from the map which matches the passed-in key. */
-void
-map_data_unset_entry_key(struct plugin_state *state,
- const char *domain_name,
- const char *map_name,
- unsigned int key_len,
- const char *key)
-{
- struct map *map;
- struct map_entry *entry;
- map = map_data_find_map(state, domain_name, map_name);
- entry = map_data_find_map_entry(state, map, key_len, key);
- map_data_unset_map_entry(state, map, entry);
- map->last_changed = time(NULL);
-}
-
/* Remove the entry from the map which matches the passed-in ID. */
void
map_data_unset_entry_id(struct plugin_state *state,