about summary refs log tree commit diff
path: root/str.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-03-31 17:05:36 +0300
committerNakidai <nakidai@disroot.org>2025-03-31 17:05:36 +0300
commit2abf5178e4957c18ee9f83490eff5e4135199ff1 (patch)
tree1e618dbf7cdb8978c4d352dd2898e18f59430fef /str.c
parent9bf6d941428e9fd2ba84dd1ebf1a4f7abd7f5642 (diff)
download3cl-2abf5178e4957c18ee9f83490eff5e4135199ff1.tar.gz
3cl-2abf5178e4957c18ee9f83490eff5e4135199ff1.zip
Some style improvments v1.3.1
- Rename readfile to allocfile (as it actually contains cccl_allocfile
  function)
- Add cccl_ prefix for functions defined in str.c
Diffstat (limited to 'str.c')
-rw-r--r--str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/str.c b/str.c
index a8d85bd..4ea84b3 100644
--- a/str.c
+++ b/str.c
@@ -3,7 +3,7 @@
 #include <stddef.h>
 
 
-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)
     {