summary refs log tree commit diff
path: root/str.c
diff options
context:
space:
mode:
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) };
 }