diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/stringop.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sway/stringop.c b/sway/stringop.c index 31a036c3..8d6cac2f 100644 --- a/sway/stringop.c +++ b/sway/stringop.c @@ -362,12 +362,3 @@ char *argsep(char **stringp, const char *delim) { found: return start; } - -char *strdup(const char *str) { - char *dup = malloc(strlen(str) + 1); - if (dup) { - strcpy(dup, str); - } - return dup; -} - |