From b7ad9f3ad0069ffb03615d6341a365dc420bd45e Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Wed, 16 Jan 2013 09:47:35 +0000 Subject: [PATCH] cleanup: remove old files. --- support/dataroot/bundle.c | 4 ---- support/dataroot/datadir.c | 10 ---------- support/dataroot/wd.c | 16 ---------------- 3 files changed, 30 deletions(-) delete mode 100644 support/dataroot/bundle.c delete mode 100644 support/dataroot/datadir.c delete mode 100644 support/dataroot/wd.c diff --git a/support/dataroot/bundle.c b/support/dataroot/bundle.c deleted file mode 100644 index 72abeff0..00000000 --- a/support/dataroot/bundle.c +++ /dev/null @@ -1,4 +0,0 @@ -const char *tvheadend_dataroot(void) -{ - return (void *)0; -} diff --git a/support/dataroot/datadir.c b/support/dataroot/datadir.c deleted file mode 100644 index ffb519b4..00000000 --- a/support/dataroot/datadir.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "config.h" -#include "filebundle.h" - -filebundle_entry_t *filebundle_root = NULL; - -const char *tvheadend_dataroot(void) -{ - return TVHEADEND_DATADIR; -} - diff --git a/support/dataroot/wd.c b/support/dataroot/wd.c deleted file mode 100644 index a8470e90..00000000 --- a/support/dataroot/wd.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include - -#include "filebundle.h" - -filebundle_entry_t *filebundle_root = NULL; - -const char *tvheadend_dataroot(void) -{ - static char cwd[256] = { 0 }; - if (!*cwd) { - assert(getcwd(cwd, 254)); - } - return cwd; -}