]> Untitled Git - dockapps/dockbatmon.git/commitdiff
Remove unused ErrorLocation() master
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 29 May 2024 15:56:43 +0000 (11:56 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 29 May 2024 15:56:43 +0000 (11:56 -0400)
src/common.h
src/main.c

index 6faab9e6e0a482338ceed8734b45430a662aab17..8e6e574eb2fc6d945e9fa4e3aaa62b44c72c3b44 100644 (file)
@@ -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)
 
 /* 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 */
 #endif /* COMMON_H */
index a1720b497cc6f66fd982de7c552c4988bdd03428..caeb07e70d7752a8e2dd728f21b49d6601496fb1 100644 (file)
 #include "batmon.h"
 #include "main.h"
 
 #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
  ******************************************************************************/
 /*******************************************************************************
  * Main function
  ******************************************************************************/