sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5399e7419d058d46782d209071d0aea321df200e
parent 8dbfb2812cd8009447efd37fb34424725adda0c8
Author: Thuban <thuban@singularity.fr>
Date:   Fri, 26 Apr 2013 22:17:47 +0200

little cleanup

Diffstat:
Mdwm.suckless.org/dwmstatus/uptime.c | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)

diff --git a/dwm.suckless.org/dwmstatus/uptime.c b/dwm.suckless.org/dwmstatus/uptime.c @@ -36,17 +36,6 @@ smprintf(char *fmt, ...) return buf; } -char* -runcmd(char* cmd) { - FILE* fp = popen(cmd, "r"); - if (fp == NULL) return NULL; - char ln[50]; - fgets(ln, sizeof(ln)-1, fp); - pclose(fp); - ln[strlen(ln)-1]='\0'; - return smprintf("%s", ln); -} - void settz(char *tzname) {