Prepare for '-Wunused-parameter'
[lttng-tools.git] / tests / regression / ust / daemon / daemon.c
index faf204f9bcb73284dd2ccf36c96ecea92c0388cd..44ec182fab47a2e5340d115783ebcea62f69e65e 100644 (file)
 #define TRACEPOINT_CREATE_PROBES
 #include "ust_tests_daemon.h"
 
-int main(int argc, char **argv, char *env[])
+int main(void)
 {
        int result;
 
-       if (argc < 1) {
-               fprintf(stderr, "usage: daemon\n");
-               exit(1);
-       }
-
        pid_t parent_pid = getpid();
        printf("parent_pid %d\n", parent_pid);
        tracepoint(ust_tests_daemon, before_daemon, parent_pid);
This page took 0.024194 seconds and 4 git commands to generate.