cli: implement --force-signature
[oweals/opkg-lede.git] / libopkg / xsystem.h
index cc1ca2a160696ce7c5689aa23a1e8df276467e2b..042efad2de3f8069b6dc6c5dff3c27ec6a9cc9e2 100644 (file)
@@ -18,8 +18,6 @@
 #ifndef XSYSTEM_H
 #define XSYSTEM_H
 
-#include <stdlib.h>
-
 /* Like system(3), but with error messages printed if the fork fails
    or if the child process dies due to an uncaught signal. Also, the
    return value is a bit simpler:
@@ -28,7 +26,7 @@
    Otherwise, the 8-bit return value of the program ala WEXITSTATUS
    as defined in <sys/wait.h>.
 */
-int xsystem(const char *cmd);
+int xsystem(const char *argv[]);
 
 #endif
-        
+