[wiki] [sites] little cleanup || Thuban

From: <git_AT_suckless.org>
Date: Fri, 26 Apr 2013 22:17:52 +0200

commit 5399e7419d058d46782d209071d0aea321df200e
Author: Thuban <thuban_AT_singularity.fr>
Date: Fri Apr 26 22:17:47 2013 +0200

    little cleanup

diff --git a/dwm.suckless.org/dwmstatus/uptime.c b/dwm.suckless.org/dwmstatus/uptime.c
index 0379166..a66c1c4 100644
--- a/dwm.suckless.org/dwmstatus/uptime.c
+++ b/dwm.suckless.org/dwmstatus/uptime.c
_AT_@ -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]='
Received on Fri Apr 26 2013 - 22:17:52 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 26 2013 - 22:24:14 CEST