pkg_src_list_push: remove unused function
[oweals/opkg-lede.git] / src / opkg-cl.c
index 47e2056e5a754ba8efb6fa325cb9417e220fd958..e73e04247708cea481814a53763f70427268fb52 100644 (file)
    opkg command line frontend using libopkg
 */
 
-#include "config.h"
-
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <getopt.h>
+#include <fnmatch.h>
 
 #include "opkg_conf.h"
 #include "opkg_cmd.h"
@@ -440,9 +440,6 @@ int main(int argc, char *argv[])
 
        err = opkg_cmd_exec(cmd, argc - opts, (const char **)(argv + opts));
 
-#ifdef HAVE_CURL
-       opkg_curl_cleanup();
-#endif
 err1:
        opkg_conf_deinit();