From 2abf5178e4957c18ee9f83490eff5e4135199ff1 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Mon, 31 Mar 2025 17:05:36 +0300 Subject: Some style improvments - Rename readfile to allocfile (as it actually contains cccl_allocfile function) - Add cccl_ prefix for functions defined in str.c --- str.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'str.c') diff --git a/str.c b/str.c index a8d85bd..4ea84b3 100644 --- a/str.c +++ b/str.c @@ -3,7 +3,7 @@ #include -const char *strtoken(enum cccl_TokenType type) +const char *cccl_strtoken(enum cccl_TokenType type) { switch (type) { @@ -16,7 +16,7 @@ const char *strtoken(enum cccl_TokenType type) return NULL; } -const char *strnode(enum cccl_NodeType type) +const char *cccl_strnode(enum cccl_NodeType type) { switch (type) { @@ -44,7 +44,7 @@ const char *strnode(enum cccl_NodeType type) return NULL; } -const char *strstatus(enum cccl_ExecutorStatus status) +const char *cccl_strstatus(enum cccl_ExecutorStatus status) { switch (status) { -- cgit 1.4.1