X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libopkg%2Fxsystem.h;h=ff7ea1eebfd76e8a2a325081efd8eed85a2dff9f;hb=07f3b022c1cf6bcafe87f083ef2482eb7a8ec701;hp=cc1ca2a160696ce7c5689aa23a1e8df276467e2b;hpb=4b0b7ca249bfa4ecc099c2ca56527eb91776f198;p=oweals%2Fopkg-lede.git diff --git a/libopkg/xsystem.h b/libopkg/xsystem.h index cc1ca2a..ff7ea1e 100644 --- a/libopkg/xsystem.h +++ b/libopkg/xsystem.h @@ -18,8 +18,6 @@ #ifndef XSYSTEM_H #define XSYSTEM_H -#include - /* 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 . */ -int xsystem(const char *cmd); +int xsystem(const char *argv[]); #endif -