Xinqi Bao's Git

removing typecasts for pcm_mixer cause more issues than before
[slstatus.git] / slstatus.c
index b0e3eef..60b5bbb 100644 (file)
@@ -607,20 +607,10 @@ int
 main(void)
 {
        size_t i;
-       char status_string[1024];
+       char status_string[4096];
        char *res, *element;
        struct arg argument;
 
-       /* get rid of unused functions warning */
-       if (0) { setstatus(""); battery_perc(""); cpu_perc();
-               datetime(""); disk_free(""); disk_perc("");
-               disk_total(""); disk_used(""); entropy();
-               gid(); hostname(); ip(""); load_avg();
-               ram_free(); ram_perc(); ram_used(); ram_total();
-               run_command(""); temp(""); uid(); uptime();
-               username(); vol_perc(""); wifi_perc("");
-               wifi_essid(""); }
-
        if (!(dpy = XOpenDisplay(0x0))) {
                fprintf(stderr, "Cannot open display!\n");
                exit(1);