summaryrefslogtreecommitdiff
path: root/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexp.c')
-rw-r--r--regexp.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/regexp.c b/regexp.c
index dd6856c..bef3590 100644
--- a/regexp.c
+++ b/regexp.c
@@ -6,10 +6,9 @@
*/
#include "regexp.h"
-#include <unistd.h>
/* Global instance */
-cEpgfixerList<cRegexp> EpgfixerRegexps;
+cEpgfixerList<cRegexp, cEvent> EpgfixerRegexps;
const char *strSources[] = { "title","shorttext","description","undefined" };
@@ -178,16 +177,6 @@ bool cRegexp::Apply(cEvent *Event)
return false;
}
-void cRegexp::PrintConfigLineToFile(FILE *f)
-{
- if (f) {
- if (source == REGEXP_UNDEFINED)
- fprintf(f, "%s\n", string);
- else
- fprintf(f, "%s%s\n", enabled ? "" : "!", string);
- }
-}
-
void cRegexp::ToggleEnabled(void)
{
if (source != REGEXP_UNDEFINED)