From fff9e69d84717a0d270733dafdea09706408d205 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 27 Feb 2017 23:16:09 +0100 Subject: 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 --- include/datatype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/datatype.h') 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, -- cgit v1.2.3