From: Hugo Villeneuve Date: Wed, 29 May 2024 15:56:43 +0000 (-0400) Subject: Remove unused ErrorLocation() X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;ds=inline;p=dockapps%2Fdockbatmon.git Remove unused ErrorLocation() --- diff --git a/src/common.h b/src/common.h index 6faab9e..8e6e574 100644 --- a/src/common.h +++ b/src/common.h @@ -26,7 +26,4 @@ /* 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 -ErrorLocation(const char *file, int line); - #endif /* COMMON_H */ diff --git a/src/main.c b/src/main.c index a1720b4..caeb07e 100644 --- a/src/main.c +++ b/src/main.c @@ -25,11 +25,6 @@ #include "batmon.h" #include "main.h" -inline void ErrorLocation(const char *file, int line) -{ - fprintf(stderr, " Error in file \"%s\" at line #%d\n", file, line); -} - /******************************************************************************* * Main function ******************************************************************************/