path: root/include/datatype.h
diff options
authorPablo Neira Ayuso <>2017-02-27 23:16:09 +0100
committerPablo Neira Ayuso <>2017-02-28 00:33:02 +0100
commitfff9e69d84717a0d270733dafdea09706408d205 (patch)
tree374d5e67e43a9368a856afbf8400c8ce81dcf365 /include/datatype.h
parent7969b0d98447a0659c046f3016838add5588efbd (diff)
src: rename set_keytype_alloc() to set_datatype_alloc()
This function can be used either side of the map, so rename it to something generic. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/datatype.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/include/datatype.h b/include/datatype.h
index 3ce3a888..b78d76f7 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -254,8 +254,8 @@ concat_subtype_lookup(uint32_t type, unsigned int n)
extern const struct datatype *
-set_keytype_alloc(const struct datatype *orig_dtype, unsigned int byteorder);
-extern void set_keytype_destroy(const struct datatype *dtype);
+set_datatype_alloc(const struct datatype *orig_dtype, unsigned int byteorder);
+extern void set_datatype_destroy(const struct datatype *dtype);
extern void time_print(uint64_t seconds);
extern struct error_record *time_parse(const struct location *loc,