From: Adam Sutton Date: Wed, 16 Jan 2013 09:47:35 +0000 (+0000) Subject: cleanup: remove old files. X-Git-Tag: v3.5~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ad9f3ad0069ffb03615d6341a365dc420bd45e;p=thirdparty%2Ftvheadend.git cleanup: remove old files. --- diff --git a/support/dataroot/bundle.c b/support/dataroot/bundle.c deleted file mode 100644 index 72abeff03..000000000 --- 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 ffb519b43..000000000 --- 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 a8470e900..000000000 --- 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; -}