Changed declaration of functions taking an empty arglist (which means
no prototype in C, not (void) like in C++) to take (void) instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,15 +91,15 @@ typedef void (*GSocketCallback)(GSocket *socket, GSocketEvent event,
|
||||
/* Global initializers */
|
||||
|
||||
/* GSocket_Init() must be called at the beginning */
|
||||
bool GSocket_Init();
|
||||
bool GSocket_Init(void);
|
||||
|
||||
/* GSocket_Cleanup() must be called at the end */
|
||||
void GSocket_Cleanup();
|
||||
void GSocket_Cleanup(void);
|
||||
|
||||
|
||||
/* Constructors / Destructors */
|
||||
|
||||
GSocket *GSocket_new();
|
||||
GSocket *GSocket_new(void);
|
||||
void GSocket_destroy(GSocket *socket);
|
||||
|
||||
|
||||
@@ -289,7 +289,7 @@ void GSocket_UnsetCallback(GSocket *socket, GSocketEventFlags flags);
|
||||
|
||||
/* GAddress */
|
||||
|
||||
GAddress *GAddress_new();
|
||||
GAddress *GAddress_new(void);
|
||||
GAddress *GAddress_copy(GAddress *address);
|
||||
void GAddress_destroy(GAddress *address);
|
||||
|
||||
|
Reference in New Issue
Block a user