From: Hugo Villeneuve Date: Fri, 14 Dec 2018 16:16:20 +0000 (-0500) Subject: Fix compiler warning about inline function X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=d18e99a3f53d81a9c4fa5f23e04fcaffc9f444a3;p=dockapps%2Fhvclock.git Fix compiler warning about inline function --- 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); }