]> git.draconx.ca Git - liblbx.git/blobdiff - src/lbx.c
liblbx: Kill lbx_numfiles.
[liblbx.git] / src / lbx.c
index 1d92f469d9b8c357003f61c05c381969ab61ea5e..57a72b082e70158ff8abd6d2205f90cce4f13caa 100644 (file)
--- a/src/lbx.c
+++ b/src/lbx.c
@@ -182,13 +182,7 @@ struct lbx *lbx_fopen(const char *file)
        return lbx_open(p, &lbx_pipe_fops, pipe_close, name);
 }
 
-size_t lbx_numfiles(struct lbx *pub)
-{
-       return pub->nfiles;
-}
-
-int
-lbx_file_stat(struct lbx *pub, unsigned fileno, struct lbx_statbuf *buf)
+int lbx_file_stat(struct lbx *pub, unsigned fileno, struct lbx_statbuf *buf)
 {
        struct lbx_priv *lbx = (struct lbx_priv *)pub;
        static char str[256]; /* FIXME */