mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-23 16:06:55 +01:00
Constify the argument of wstrdup()
This commit is contained in:
1 parent
de881d9c03
commit
034339320f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -245,7 +245,7 @@ void wfree(void *ptr);
|
||||
void wrelease(void *ptr);
|
||||
void* wretain(void *ptr);
|
||||
|
||||
char* wstrdup(char *str);
|
||||
char *wstrdup(const char *str);
|
||||
char* wstrndup(char *str, size_t len);
|
||||
|
||||
/* Concatenate str1 with str2 and return that in a newly malloc'ed string.
|
||||
|
||||
Reference in new issue
Block a user