OSDN Git Service

Fix building issues with pie-x86
[android-x86/external-koush-Superuser.git] / Superuser / jni / su / daemon.c
index d6420ee..b415f47 100644 (file)
@@ -504,7 +504,7 @@ err:
 // List of signals which cause process termination
 static int quit_signals[] = { SIGALRM, SIGHUP, SIGPIPE, SIGQUIT, SIGTERM, SIGINT, 0 };
 
-static void sighandler(int sig) {
+static void sighandler(int __attribute__((unused))sig) {
     restore_stdin();
 
     // Assume we'll only be called before death