Fix potential undefined references to FILE, for libopkg users.
[oweals/opkg-lede.git] / libopkg / opkg_upgrade.h
index d8e4b6584fb3df44699a607e973bafb68fcb2e37..6545fa897a52cddaf559c295bdba6dcca93d8f36 100644 (file)
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.
 */
+#ifndef OPKG_UPGRADE_H
+#define OPKG_UPGRADE_H
 
-int opkg_upgrade_pkg(opkg_conf_t *conf, pkg_t *old);
+#include "active_list.h"
+int opkg_upgrade_pkg(pkg_t *old);
+struct active_list * prepare_upgrade_list (void);
+
+#endif