From da7ce8f2f3a6fdd9b992a26000ccc51cbf15926a Mon Sep 17 00:00:00 2001 From: ame Date: Tue, 16 Apr 2024 13:28:34 -0500 Subject: prevent usage of parray in net code --- src/types/str.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/types/str.h') diff --git a/src/types/str.h b/src/types/str.h index 1f50eab..86490cc 100644 --- a/src/types/str.h +++ b/src/types/str.h @@ -11,11 +11,11 @@ typedef struct { char* c; } str; -str* str_initl(char*, size_t len); -str* str_init(char*); +str* str_initl(const char*, size_t len); +str* str_init(const char*); void str_free(str*); -void str_push(str*, char*); -void str_pushl(str*, char*, size_t); +void str_push(str*, const char*); +void str_pushl(str*, const char*, size_t); void str_clear(str*); void str_popf(str*, int); void str_popb(str*, int); -- cgit v1.2.3