X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf703528c2c492d2c3c8cd79d4b028a0a2fd081a..8f4d9fcd9a1133442aa733e978231b01956e641b:/src/x11/gsockx11.cpp diff --git a/src/x11/gsockx11.cpp b/src/x11/gsockx11.cpp index ae23842347..e42fd4942b 100644 --- a/src/x11/gsockx11.cpp +++ b/src/x11/gsockx11.cpp @@ -24,8 +24,8 @@ typedef void (*wxSocketCallback) (int fd, void* data); typedef enum { wxSocketTableInput, wxSocketTableOutput } wxSocketTableType ; -void wxRegisterSocketCallback(int fd, wxSocketTableType socketType, wxSocketCallback cback, void* data); -void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType); +extern "C" void wxRegisterSocketCallback(int fd, wxSocketTableType socketType, wxSocketCallback cback, void* data); +extern "C" void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType); static void _GSocket_X11_Input(int *fid, void* data)