summaryrefslogtreecommitdiff
path: root/dwmblocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwmblocks.c')
-rw-r--r--dwmblocks.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/dwmblocks.c b/dwmblocks.c
index 7d4616d..8668f04 100644
--- a/dwmblocks.c
+++ b/dwmblocks.c
@@ -15,7 +15,6 @@ typedef struct {
} Block;
void dummysighandler(int num);
void sighandler(int num);
-void replace(char *str, char old, char new);
void getcmds(int time);
#ifndef __OpenBSD__
void getsigcmds(int signal);
@@ -38,14 +37,6 @@ static char statusstr[2][256];
static int statusContinue = 1;
static void (*writestatus) () = setroot;
-void replace(char *str, char old, char new)
-{
- int N = strlen(str);
- for(int i = 0; i < N; i++)
- if(str[i] == old)
- str[i] = new;
-}
-
//opens process *cmd and stores output in *output
void getcmd(const Block *block, char *output)
{