X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/32081e3bb50124d451a660872f6dff57232e5172..3192589d7c45cc7adeeb7c86c20a009cb4d16934:/src/lbx.c diff --git a/src/lbx.c b/src/lbx.c index d75a123..05c3cbc 100644 --- a/src/lbx.c +++ b/src/lbx.c @@ -165,21 +165,6 @@ eof: return NULL; } -struct lbx_state *lbx_open(const char *path) -{ - struct lbx_state *new = NULL; - FILE *f; - - if ((f = fopen(path, "rb"))) { - const char *name = strrchr(path, '/'); - new = lbx_fopen(f, name ? name+1 : path); - } else { - lbx_errno = -errno; - } - - return new; -} - size_t lbx_numfiles(struct lbx_state *lbx) { return lbx->nfiles;