From 1dff61d9bf390372124c13443e0131a96383f5bc Mon Sep 17 00:00:00 2001 From: lijunlong Date: Wed, 22 Feb 2023 09:04:28 +0800 Subject: optimization: add void to functions with no arguments to prevent compiler warning. --- fpconv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpconv.h') diff --git a/fpconv.h b/fpconv.h index 7b0d0ee..59e0867 100644 --- a/fpconv.h +++ b/fpconv.h @@ -7,12 +7,12 @@ # define FPCONV_G_FMT_BUFSIZE 32 #ifdef USE_INTERNAL_FPCONV -static inline void fpconv_init() +static inline void fpconv_init(void) { /* Do nothing - not required */ } #else -extern void fpconv_init(); +extern void fpconv_init(void); #endif extern int fpconv_g_fmt(char*, double, int); -- cgit v1.2.3-55-g6feb