]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - tests/example_vfork.c
tests: Fix warnings about unused parameters.
[coloredstderr/coloredstderr.git] / tests / example_vfork.c
index ed94e562e8cd4820107f08880daf7926e1232837..8c4aec94ee221ea542c9b33a2ddeaae584caa69f 100644 (file)
  * 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");