X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhelper%2Flog.h;h=c329fb5881d6a478cef52315a2aa9a504812c3b4;hb=f370d70670bd5e30befe6fbfbc8d472e760f032b;hp=f57ed08021875b855d6362355aeb9d46cc604eb9;hpb=20f505f695df9d9ba4c20780848336afec240a31;p=openocd.git diff --git a/src/helper/log.h b/src/helper/log.h index f57ed08021..c329fb5881 100644 --- a/src/helper/log.h +++ b/src/helper/log.h @@ -59,8 +59,8 @@ __attribute__ ((format (printf, 5, 6))); extern int log_register_commands(struct command_context_s *cmd_ctx); extern int log_init(struct command_context_s *cmd_ctx); extern int set_log_output(struct command_context_s *cmd_ctx, FILE *output); -extern void keep_alive(); -extern void kept_alive(); +extern void keep_alive(void); +extern void kept_alive(void); typedef void (*log_callback_fn)(void *priv, const char *file, int line, const char *function, const char *string);