]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - tests/example_vfork.c
update copyright year
[coloredstderr/coloredstderr.git] / tests / example_vfork.c
index ed94e562e8cd4820107f08880daf7926e1232837..676431f354ba73b169a079874acb60f35b6f5df4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Test issues with vfork().
  *
- * Copyright (C) 2013  Simon Ruderich
+ * Copyright (C) 2013-2015  Simon Ruderich
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
 #include <unistd.h>
 
-int main(int argc, char **argv) {
+#include "../src/compiler.h"
+
+
+int main(int argc unused, char **argv unused) {
     pid_t pid;
 
     fprintf(stderr, "Before vfork().\n");