summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools.h b/tools.h
index 595f4f3..dfcee30 100644
--- a/tools.h
+++ b/tools.h
@@ -5,14 +5,16 @@
*
*/
-#ifndef __EPGFIXER_STRINGTOOLS_H_
-#define __EPGFIXER_STRINGTOOLS_H_
+#ifndef __EPGFIXER_TOOLS_H_
+#define __EPGFIXER_TOOLS_H_
#include <vdr/epg.h>
#include <vdr/tools.h>
#include <unistd.h>
#include <stdio.h>
+#define error(x...) esyslog("EPGFixer: " x);
+
#define FREE(x) { free(x); x = NULL; }
char *striphtml(char *str);
@@ -96,4 +98,4 @@ public:
const char *GetConfigFile() { return fileName; }
};
-#endif //__EPGFIXER_STRINGTOOLS_H_
+#endif //__EPGFIXER_TOOLS_H_