Xinqi Bao's Git

sighandle forgot const
authorAaron Marcher <[email protected]>
Tue, 13 Sep 2016 17:21:54 +0000 (19:21 +0200)
committerAaron Marcher (drkhsh) <[email protected]>
Tue, 13 Sep 2016 17:21:54 +0000 (19:21 +0200)
slstatus.c

index cb5f1f2..7babe1f 100644 (file)
@@ -580,7 +580,7 @@ wifi_essid(const char *wificard)
 }
 
 static void
-sighandler(int signo)
+sighandler(const int signo)
 {
        if (signo == SIGTERM || signo == SIGINT) {
                done = 1;