Skip to content

Commit 8674848

Browse files
committed
use extern instead of static
1 parent d3f2be2 commit 8674848

File tree

1 file changed

+4
-4
lines changed
  • libs/ofxLibwebsockets/include/ofxLibwebsockets

1 file changed

+4
-4
lines changed

libs/ofxLibwebsockets/include/ofxLibwebsockets/Util.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ namespace ofxLibwebsockets {
2323

2424
// CLIENT CALLBACK
2525

26-
static int lws_client_callback(struct libwebsocket_context* context, struct libwebsocket *ws, enum libwebsocket_callback_reasons reason, void *user, void *data, size_t len);
26+
extern int lws_client_callback(struct libwebsocket_context* context, struct libwebsocket *ws, enum libwebsocket_callback_reasons reason, void *user, void *data, size_t len);
2727

2828
// SERVER CALLBACK
2929

30-
static int lws_callback(struct libwebsocket_context* context, struct libwebsocket *ws,
30+
extern int lws_callback(struct libwebsocket_context* context, struct libwebsocket *ws,
3131
enum libwebsocket_callback_reasons reason, void *user, void *data, size_t len);
3232

33-
static void dump_handshake_info(struct lws_tokens *lwst);
33+
extern void dump_handshake_info(struct lws_tokens *lwst);
3434

35-
static string getCallbackReason( int reason );
35+
extern string getCallbackReason( int reason );
3636
}

0 commit comments

Comments
 (0)