X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Fexample_exec.c;h=bd12b5a71f7b5f5ce42436144d966b5a192e3e6c;hb=7c2d726cd4c2716e9c211b5a5ab5d7713e1dfc5e;hp=3a185673e7f06931e583847f89d1d95041054005;hpb=7ea72c40db03659a9d468f000d59ff133aadf47e;p=coloredstderr%2Fcoloredstderr.git diff --git a/tests/example_exec.c b/tests/example_exec.c index 3a18567..bd12b5a 100644 --- a/tests/example_exec.c +++ b/tests/example_exec.c @@ -17,11 +17,15 @@ * along with this program. If not, see . */ +#include + #include #include #include #include +#include "../src/compiler.h" + #define MAGIC "@RUN_" #define MAGIC_LENGTH (strlen(MAGIC)) @@ -75,7 +79,7 @@ static void dump(char *argv[]) { } -int main(int argc, char **argv) { +int main(int argc unused, char **argv) { char argv0[strlen(argv[0]) + MAGIC_LENGTH + 3 + 1]; char *old_ldpreload = getenv("LD_PRELOAD");