]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/gsocket.c
C++ comments in C files are fun but break the compilation (for the Nth time)
[wxWidgets.git] / src / unix / gsocket.c
index 0ad0608f4e1ed9969cfea81250f4002b46cb9bc9..ad6dc22ce6a1d5ca028ecd6aa3bb15e57525933d 100644 (file)
@@ -64,7 +64,7 @@ struct        sockaddr_un {
 #  endif
 #endif
 
-#endif // SOCKLEN_T
+#endif /* SOCKLEN_T */
 
 #define MASK_SIGNAL()                       \
 {                                           \
@@ -325,6 +325,7 @@ GSocket *GSocket_WaitConnection(GSocket *socket)
   struct sockaddr from;
   SOCKLEN_T fromlen = sizeof(from);
   GSocket *connection;
+  GSocketError err;
   int arg = 1;
 
   assert(socket != NULL);