diff options
author | wrmr | 2024-11-10 16:10:49 -0500 |
---|---|---|
committer | wrmr | 2024-11-10 16:10:49 -0500 |
commit | b1ada414e265a429fcd538efdd26efb8c9c6b697 (patch) | |
tree | 542452ad7a13f57eae1831571d5f4bd8bd82e06e /str.c | |
parent | 9a513348057d8c62a65e08214206dae77b766b83 (diff) |
Diffstat (limited to 'str.c')
-rw-r--r-- | str.c | 2 |
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) }; } |