]> git.draconx.ca Git - liblbx.git/blobdiff - src/lbxtool.c
liblbx: Kill the LBX typedef.
[liblbx.git] / src / lbxtool.c
index 8a5a428d198fdb0bc949103e8cc8fd069b355976..b20766648537ec419934e9431db34b4e54854547 100644 (file)
@@ -69,7 +69,7 @@ int filematch(char **argv, const char *name)
        return i ? -1: 0;
 }
 
-int list(LBX *lbx, int verbose, char **argv)
+int list(struct lbx *lbx, int verbose, char **argv)
 {
        unsigned int i;
 
@@ -142,7 +142,7 @@ int extract_file(LBXfile *f, const struct lbx_statbuf *stat)
        return ret;
 }
 
-int extract(LBX *lbx, int verbose, char **argv)
+int extract(struct lbx *lbx, int verbose, char **argv)
 {
        unsigned int i;
 
@@ -181,7 +181,7 @@ int main(int argc, char **argv)
        int mode = MODE_NONE, verbose = 0, opt, rc = EXIT_FAILURE;
        struct lbx_pipe_state stdin_handle = { .f = stdin };
        const char *file = NULL;
-       LBX *lbx;
+       struct lbx *lbx;
 
        static const char         *sopts   = "lxf:i:vV";
        static const struct option lopts[] = {