[Freeciv-Dev] solaris warning fix (PR#2527)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This fixes the Solaris warnings I reported previously as PR#2527.
- Per
Index: common/netintf.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/netintf.h,v
retrieving revision 1.6
diff -u -r1.6 netintf.h
--- common/netintf.h 2002/12/08 22:55:24 1.6
+++ common/netintf.h 2002/12/23 22:48:19
@@ -43,6 +43,8 @@
#define MY_FD_ZERO(p) memset((void *)(p), 0, sizeof(*(p)))
#endif
+struct sockaddr;
+
int my_readsocket(int sock, void *buf, size_t size);
int my_writesocket(int sock, const void *buf, size_t size);
void my_closesocket(int sock);
@@ -50,7 +52,8 @@
void my_shutdown_network(void);
void my_nonblock(int sockfd);
-bool net_lookup_service(const char *name,int port,struct sockaddr *sa,int len);
+bool net_lookup_service(const char *name,int port,
+ struct sockaddr *sa, int len);
fz_FILE *my_querysocket(int sock, void *buf, size_t size);
#endif /* FC__NETINTF_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] solaris warning fix (PR#2527),
Per I. Mathisen via RT <=
|
|