Remove unused external variables

These variables are not used in these modules. Thus, there is no
need for the linker to link these variables here.

The s variable is unused since commit eab1a71d.
And the s variable disapeared in commit 00bdf989.
Signed-off-by: 's avatarGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
parent 7b92bc3e
...@@ -68,8 +68,6 @@ char* client_version_eye = "MQTTAsyncV3_Version " CLIENT_VERSION; ...@@ -68,8 +68,6 @@ char* client_version_eye = "MQTTAsyncV3_Version " CLIENT_VERSION;
#define min(a, b) (((a) < (b)) ? (a) : (b)) #define min(a, b) (((a) < (b)) ? (a) : (b))
#endif #endif
extern Sockets s;
static ClientStates ClientState = static ClientStates ClientState =
{ {
CLIENT_VERSION, /* version */ CLIENT_VERSION, /* version */
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "StackTrace.h" #include "StackTrace.h"
#include "Heap.h" #include "Heap.h"
extern MQTTProtocol state;
extern ClientStates* bstate; extern ClientStates* bstate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment