From 69459369754b07d3fa4379c2b60a5f8ba9fcd45d Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 6 Nov 2020 16:51:41 +0100 Subject: Use proper prototype declaration --- src/sp_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_utils.h') diff --git a/src/sp_utils.h b/src/sp_utils.h index 744bbff..24571ee 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h @@ -53,7 +53,7 @@ #define GET_SUFFIX(x) (x == 1) ? "st" : ((x == 2) ? "nd" : "th") -const char *get_ipaddr(); +const char *get_ipaddr(void); void sp_log_msgf(char const *restrict feature, int level, int type, const char *restrict fmt, ...); int compute_hash(const char *const restrict filename, char *restrict file_hash); -- cgit v1.3