diff --git a/randomfeh.c b/randomfeh.c index 398eed9e28492fef7561fcf393ce980c8e99ebdf..59e61412f0e4e01c6e91e4cb5b26e8f738946baf 100644 --- a/randomfeh.c +++ b/randomfeh.c @@ -10,7 +10,7 @@ #define FEH_BIN "/usr/bin/feh" -static inline void +static void die(const char *format, ...) { va_list ap; @@ -20,7 +20,7 @@ die(const char *format, ...) exit(1); } -static inline struct timespec +static struct timespec parse_interval(const char *s) { char *end_interval; @@ -37,7 +37,7 @@ parse_interval(const char *s) return res; } -static inline void +static void spawn(const char *bin, char **argv) { pid_t p = fork();