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; -}