X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=tests%2Fexample_exec.c;h=bd12b5a71f7b5f5ce42436144d966b5a192e3e6c;hp=3a185673e7f06931e583847f89d1d95041054005;hb=afca2864dc6464201dfe32134ae20e0107297836;hpb=2f1aa1cdd321301db62e25280356bee9a2ac5dfa 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");