summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datatype.c')
-rw-r--r--src/datatype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datatype.c b/src/datatype.c
index 64b8b884..6b1dd4a0 100644
--- a/src/datatype.c
+++ b/src/datatype.c
@@ -1029,8 +1029,8 @@ void concat_type_destroy(const struct datatype *dtype)
dtype_free(dtype);
}
-const struct datatype *set_keytype_alloc(const struct datatype *orig_dtype,
- unsigned int byteorder)
+const struct datatype *set_datatype_alloc(const struct datatype *orig_dtype,
+ unsigned int byteorder)
{
struct datatype *dtype;
@@ -1044,7 +1044,7 @@ const struct datatype *set_keytype_alloc(const struct datatype *orig_dtype,
return dtype;
}
-void set_keytype_destroy(const struct datatype *dtype)
+void set_datatype_destroy(const struct datatype *dtype)
{
if (dtype->flags & DTYPE_F_CLONE)
dtype_free(dtype);