summaryrefslogtreecommitdiffstats
path: root/sway/stringop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/stringop.c')
-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) {
362 found: 362 found:
363 return start; 363 return start;
364} 364}
365
366char *strdup(const char *str) {
367 char *dup = malloc(strlen(str) + 1);
368 if (dup) {
369 strcpy(dup, str);
370 }
371 return dup;
372}
373