summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-09-08 19:34:47 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-08 20:11:44 +0200
commitbd063341a552c5e79cffa26e8b7a06fcdbfcd96c (patch)
tree3c009a2c751db2cc1b17f8f41b922306a75d238a /include
parent5722eda4eec170fe26bf274cb550c875f5b94a0c (diff)
datatype: rename "dtype_clone()" to datatype_clone()
The struct is called "datatype" and related functions have the fitting "datatype_" prefix. Rename. Also rename the internal "dtype_alloc()" to "datatype_alloc()". This is a follow up to commit 01a13882bb59 ('src: add reference counter for dynamic datatypes'), which started adding "datatype_*()" functions. Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
-rw-r--r--include/datatype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datatype.h b/include/datatype.h
index 9ce7359c..6146eda1 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -177,7 +177,7 @@ extern const struct datatype *datatype_lookup_byname(const char *name);
extern struct datatype *datatype_get(const struct datatype *dtype);
extern void datatype_set(struct expr *expr, const struct datatype *dtype);
extern void datatype_free(const struct datatype *dtype);
-struct datatype *dtype_clone(const struct datatype *orig_dtype);
+struct datatype *datatype_clone(const struct datatype *orig_dtype);
struct parse_ctx {
struct symbol_tables *tbl;