summaryrefslogtreecommitdiffhomepage
path: root/stc
diff options
context:
space:
mode:
Diffstat (limited to 'stc')
-rw-r--r--stc/cptr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stc/cptr.h b/stc/cptr.h
index 43439e85..0cb51841 100644
--- a/stc/cptr.h
+++ b/stc/cptr.h
@@ -29,7 +29,7 @@
#include <stc/cstr.h>
#include <stc/cvec.h>
-typedef struct { cstr_t name, last; } Person;
+typedef struct { cstr name, last; } Person;
Person* Person_make(Person* p, const char* name, const char* last) {
p->name = cstr_from(name), p->last = cstr_from(last);
@@ -100,7 +100,7 @@ int main() {
#include <stc/cptr.h>
#include <stc/cstr.h>
-typedef struct { cstr_t name, last; } Person;
+typedef struct { cstr name, last; } Person;
Person* Person_make(Person* p, const char* name, const char* last) {
p->name = cstr_from(name), p->last = cstr_from(last);