libopkg: store checksums in binary form, use integer index for architecture
[oweals/opkg-lede.git] / libopkg / xsystem.h
index cc1ca2a160696ce7c5689aa23a1e8df276467e2b..ff7ea1eebfd76e8a2a325081efd8eed85a2dff9f 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,6 @@
    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
-