From d571a1407f37c2fb0219f267de17d213b6ba8d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 25 Nov 2017 21:42:50 +0100 Subject: [PATCH] Clean unnecessary includes --- code/espurna/config/prototypes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/espurna/config/prototypes.h b/code/espurna/config/prototypes.h index 4dfe0207..4fa3568e 100644 --- a/code/espurna/config/prototypes.h +++ b/code/espurna/config/prototypes.h @@ -1,8 +1,11 @@ #include -#include #include #include +extern "C" { + #include "user_interface.h" +} + #if WEB_SUPPORT // ----------------------------------------------------------------------------- @@ -36,7 +39,6 @@ void wsOnAfterParseRegister(ws_on_after_parse_callback_f callback); // ----------------------------------------------------------------------------- // MQTT // ----------------------------------------------------------------------------- -#include typedef std::function mqtt_callback_f; void mqttRegister(mqtt_callback_f callback); String mqttSubtopic(char * topic);