aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/stringop.c9
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;
-}
-