build: remove output shaving support
[project/opkg-lede.git] / libopkg / pkg_dest.h
index 33c72dacd66f68984b08e17eaea9e67dd13747d2..4ad417e878356d9107d86022bc5779a557335b8b 100644 (file)
@@ -1,4 +1,4 @@
-/* pkg_dest.h - the itsy package management system
+/* pkg_dest.h - the opkg package management system
 
    Carl D. Worth
 
@@ -18,6 +18,8 @@
 #ifndef PKG_DEST_H
 #define PKG_DEST_H
 
+#include <stdio.h>
+
 typedef struct pkg_dest pkg_dest_t;
 struct pkg_dest
 {
@@ -27,8 +29,7 @@ struct pkg_dest
     char *lists_dir;
     char *info_dir;
     char *status_file_name;
-    char *status_file_tmp_name;
-    FILE *status_file;
+    FILE *status_fp;
 };
 
 int pkg_dest_init(pkg_dest_t *dest, const char *name, const char *root_dir,const char *lists_dir);