X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=decode.c;h=7712ea10a2a2580df9e6297446581381f3f9c520;hb=a8b4041ad4829aeb33e243d6a6a0c482be4658cd;hp=830882d351a107dcb1e2c81597921d3e0e8d180a;hpb=3a8ceb6ab20eda808a31d0d5e81483ced0ab18bf;p=sigrok-cli.git
diff --git a/decode.c b/decode.c
index 830882d..7712ea1 100644
--- a/decode.c
+++ b/decode.c
@@ -17,6 +17,8 @@
* along with this program. If not, see .
*/
+#include
+#include
#include "sigrok-cli.h"
#include "config.h"
#include
@@ -28,8 +30,6 @@ static GHashTable *pd_binary_visible = NULL;
static GHashTable *pd_channel_maps = NULL;
extern struct srd_session *srd_sess;
-extern gint opt_loglevel;
-
static int opts_to_gvar(struct srd_decoder *dec, GHashTable *hash,
GHashTable **options)