projects
/
dockapps
/
dockbatmon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
791ec95
)
Remove unused ErrorLocation()
master
author
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 29 May 2024 15:56:43 +0000
(11:56 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 29 May 2024 15:56:43 +0000
(11:56 -0400)
src/common.h
patch
|
blob
|
history
src/main.c
patch
|
blob
|
history
diff --git
a/src/common.h
b/src/common.h
index
6faab9e
..
8e6e574
100644
(file)
--- 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)
/* 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 */
diff --git
a/src/main.c
b/src/main.c
index
a1720b4
..
caeb07e
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-25,11
+25,6
@@
#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
******************************************************************************/