mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-08 10:42:29 +02: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
@@ -163,7 +163,7 @@ char *wtrimspace(char *s)
|
||||
return c;
|
||||
}
|
||||
|
||||
char *wstrdup(char *str)
|
||||
char *wstrdup(const char *str)
|
||||
{
|
||||
assert(str != NULL);
|
||||
|
||||
|
||||
Reference in new issue
Block a user