/* 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 */
#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
******************************************************************************/