summary refs log tree commit diff
path: root/str.c
diff options
context:
space:
mode:
authorwrmr2024-11-10 16:10:49 -0500
committerwrmr2024-11-10 16:10:49 -0500
commitb1ada414e265a429fcd538efdd26efb8c9c6b697 (patch)
tree542452ad7a13f57eae1831571d5f4bd8bd82e06e /str.c
parent9a513348057d8c62a65e08214206dae77b766b83 (diff)
use _Generic for strv() HEAD master
Diffstat (limited to 'str.c')
-rw-r--r--str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/str.c b/str.c
index 8d1806e..8e60ed7 100644
--- a/str.c
+++ b/str.c
@@ -45,7 +45,7 @@ void str_free(str_t *b) {
 
 /* string views */
 
-strv_t strv(const char *s) {
+strv_t strv_cstr(const char *s) {
 	return (strv_t) { s, strlen(s) };
 }