From 7031a9ea16438ec8546fc043999dfbc8410d0fee Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 13 Dec 2022 21:29:30 +0200 Subject: Rename divide to split --- mendeleev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mendeleev.c') diff --git a/mendeleev.c b/mendeleev.c index 2ab20e1..770d37b 100644 --- a/mendeleev.c +++ b/mendeleev.c @@ -63,7 +63,7 @@ search (size_t *start, size_t *len, size_t shift, char c) } static element_t * -divide (const char *tail) +split (const char *tail) { element_t *head = NULL; element_t *last = NULL; @@ -117,7 +117,7 @@ divide (const char *tail) static element_t * explode (const char *word) { - element_t *root = divide (word); + element_t *root = split (word); for (element_t * el = root; el; el = el->sibs) el->next = *el->tail ? explode (el->tail) : NULL; return root; -- cgit v1.2.3