From d18e99a3f53d81a9c4fa5f23e04fcaffc9f444a3 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Fri, 14 Dec 2018 11:16:20 -0500 Subject: [PATCH] Fix compiler warning about inline function --- src/common.h | 2 +- src/hvclock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.h b/src/common.h index 6faab9e..28be4ae 100644 --- a/src/common.h +++ b/src/common.h @@ -26,7 +26,7 @@ /* Returns TRUE if the first 'c' characters of strings 'a' and 'b' are equal. */ #define STREQ_LEN(a, b, c) (strncmp((a), (b), (c)) == 0) -inline void +void ErrorLocation(const char *file, int line); #endif /* COMMON_H */ diff --git a/src/hvclock.c b/src/hvclock.c index f31a114..3c32428 100644 --- a/src/hvclock.c +++ b/src/hvclock.c @@ -25,7 +25,7 @@ #include "clock.h" #include "hvclock.h" -inline void ErrorLocation(const char *file, int line) +void ErrorLocation(const char *file, int line) { fprintf(stderr, " Error in file \"%s\" at line #%d\n", file, line); } -- 2.20.1