diff --git a/programs/CMakeLists.txt b/programs/CMakeLists.txt index 1d846ed..5375487 100644 --- a/programs/CMakeLists.txt +++ b/programs/CMakeLists.txt @@ -26,6 +26,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-variable") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unknown-pragmas") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-but-set-variable") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-command-line-argument") # Set the compiler options. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static") diff --git a/programs/edit.c b/programs/edit.c index 9296575..4166a53 100644 --- a/programs/edit.c +++ b/programs/edit.c @@ -120,4 +120,4 @@ int main(int argc, char *argv[]) __set_echo(true); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/CMakeLists.txt b/programs/tests/CMakeLists.txt index 6dca2bb..de1607a 100644 --- a/programs/tests/CMakeLists.txt +++ b/programs/tests/CMakeLists.txt @@ -26,6 +26,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-variable") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unknown-pragmas") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-but-set-variable") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-command-line-argument") # Set the compiler options. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static") diff --git a/programs/tests/t_abort.c b/programs/tests/t_abort.c index 04d2f6c..28f35a5 100644 --- a/programs/tests/t_abort.c +++ b/programs/tests/t_abort.c @@ -42,4 +42,4 @@ int main(int argc, char *argv[]) } abort(); -} \ No newline at end of file +} diff --git a/programs/tests/t_alarm.c b/programs/tests/t_alarm.c index 123f6d4..0cf136a 100644 --- a/programs/tests/t_alarm.c +++ b/programs/tests/t_alarm.c @@ -47,4 +47,4 @@ int main(int argc, char *argv[]) while(1) { } return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_exec.c b/programs/tests/t_exec.c index b18d4f4..6979379 100644 --- a/programs/tests/t_exec.c +++ b/programs/tests/t_exec.c @@ -61,4 +61,4 @@ int main(int argc, char *argv[]) } wait(&status); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_exec_callee.c b/programs/tests/t_exec_callee.c index fde8f19..3f78b44 100644 --- a/programs/tests/t_exec_callee.c +++ b/programs/tests/t_exec_callee.c @@ -15,4 +15,4 @@ int main(int argc, char *argv[]) } printf("ENV_VAR = %s\n", ENV_VAR); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_fork.c b/programs/tests/t_fork.c index a616770..004f806 100644 --- a/programs/tests/t_fork.c +++ b/programs/tests/t_fork.c @@ -62,4 +62,4 @@ int main(int argc, char *argv[]) } #endif return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_getenv.c b/programs/tests/t_getenv.c index 6889175..05fabcc 100644 --- a/programs/tests/t_getenv.c +++ b/programs/tests/t_getenv.c @@ -17,4 +17,4 @@ int main(int argc, char *argv[]) } printf("ENV_VAR = %s\n", ENV_VAR); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_gid.c b/programs/tests/t_gid.c index 213c64d..f91e827 100644 --- a/programs/tests/t_gid.c +++ b/programs/tests/t_gid.c @@ -49,4 +49,4 @@ int main(int argc, char **argv) } return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_groups.c b/programs/tests/t_groups.c index 24791f6..5c8a555 100644 --- a/programs/tests/t_groups.c +++ b/programs/tests/t_groups.c @@ -35,4 +35,4 @@ int main(int argc, char **argv) // ; return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_itimer.c b/programs/tests/t_itimer.c index d8fddac..695ae27 100644 --- a/programs/tests/t_itimer.c +++ b/programs/tests/t_itimer.c @@ -58,4 +58,4 @@ int main(int argc, char *argv[]) while(1) { } return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_kill.c b/programs/tests/t_kill.c index 933a2a9..0ff9afe 100644 --- a/programs/tests/t_kill.c +++ b/programs/tests/t_kill.c @@ -62,4 +62,4 @@ int main(int argc, char *argv[]) wait(&status); printf("main : end (%d)\n", status); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_mem.c b/programs/tests/t_mem.c index 83c8d4c..189d60f 100644 --- a/programs/tests/t_mem.c +++ b/programs/tests/t_mem.c @@ -22,4 +22,4 @@ int main(int argc, char *argv[]) } } return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_setenv.c b/programs/tests/t_setenv.c index f51beb8..442e674 100644 --- a/programs/tests/t_setenv.c +++ b/programs/tests/t_setenv.c @@ -25,4 +25,4 @@ int main(int argc, char *argv[]) wait(&status); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_sigaction.c b/programs/tests/t_sigaction.c index f76f490..cf92f08 100644 --- a/programs/tests/t_sigaction.c +++ b/programs/tests/t_sigaction.c @@ -45,4 +45,4 @@ int main(int argc, char *argv[]) printf("values[%d] : `%d`\n", i, values[i]); free(values); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_sigfpe.c b/programs/tests/t_sigfpe.c index 3f2f3d8..f8739d5 100644 --- a/programs/tests/t_sigfpe.c +++ b/programs/tests/t_sigfpe.c @@ -46,4 +46,4 @@ int main(int argc, char *argv[]) d /= e; e -= 1; } -} \ No newline at end of file +} diff --git a/programs/tests/t_siginfo.c b/programs/tests/t_siginfo.c index ad87b5e..b84e76c 100644 --- a/programs/tests/t_siginfo.c +++ b/programs/tests/t_siginfo.c @@ -47,4 +47,4 @@ int main(int argc, char *argv[]) d /= e; e -= 1; } -} \ No newline at end of file +} diff --git a/programs/tests/t_sigmask.c b/programs/tests/t_sigmask.c index f6c88f4..9fec449 100644 --- a/programs/tests/t_sigmask.c +++ b/programs/tests/t_sigmask.c @@ -46,4 +46,4 @@ int main(int argc, char *argv[]) printf("main : Returning from handler (%d): %d.\n", SIGUSR1, ret); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_sigusr.c b/programs/tests/t_sigusr.c index ef3d3ca..a71ae6e 100644 --- a/programs/tests/t_sigusr.c +++ b/programs/tests/t_sigusr.c @@ -52,4 +52,4 @@ int main(int argc, char *argv[]) while(1) { }; return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_sleep.c b/programs/tests/t_sleep.c index d725335..57b3017 100644 --- a/programs/tests/t_sleep.c +++ b/programs/tests/t_sleep.c @@ -18,4 +18,4 @@ int main(int argc, char *argv[]) printf("COMPLETED.\n"); return 0; -} \ No newline at end of file +} diff --git a/programs/tests/t_stopcont.c b/programs/tests/t_stopcont.c index c81b238..8b24b27 100644 --- a/programs/tests/t_stopcont.c +++ b/programs/tests/t_stopcont.c @@ -56,4 +56,4 @@ int main(int argc, char *argv[]) } return 0; -} \ No newline at end of file +}