libopkg: remove internal dependency on libopkg.h and opkg_cmd.h
[oweals/opkg-lede.git] / libopkg / opkg_message.c
index b96e7d6982fa823c28a4c68045043643c50fcd25..c00dd979a953b198e25096caf27c808798503027 100644 (file)
@@ -18,9 +18,7 @@
 #include "opkg_conf.h"
 #include "opkg_message.h"
 
-#include "libopkg.h"
-
-//#define opkg_message(conf, level, fmt, arg...) opkg_cb_message(conf, level, fmt, ## arg)
+opkg_message_callback opkg_cb_message = NULL;
 
 void
 opkg_message (opkg_conf_t * conf, message_level_t level, char *fmt, ...)