return NULL;
}
-static char *get_default_path()
+static char *get_default_path(void)
{
char *home, *path, *dir;
sleep(period);
}
- pthread_exit(0);
+ pthread_exit(NULL);
}
-void slog_close()
+void slog_close(void)
{
if (file) {
pthread_cancel(thread);