LOG("Process %d received signal %d\n", pid, signum);
}
-static int child_process() {
+static int child_process(void) {
LOG("Child process started with PID %d\n", getpid());
signal(SIGTERM, handle_signal);
return 0;
}
-static pid_t fork_child_process() {
+static pid_t fork_child_process(void) {
pid_t pid = fork();
ASSERT(pid >= 0);
extern struct testsuite ts;
int __testsuite_add_test(const char* name, int (*func)(const struct test* t));
-int testsuite_run();
+int testsuite_run(void);
#define _LOG(prefix, fmt, ...) fprintf(stderr, "TESTS: " prefix fmt, ## __VA_ARGS__);
#define LOG(fmt, ...) _LOG("", fmt, ## __VA_ARGS__);
// Helper functions
FILE* test_mktemp(char** path);
-char* test_mkdtemp();
+char* test_mkdtemp(void);
#endif /* PAKFIRE_TESTSUITE_H */