Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] solaris warning fix (PR#2527)
Home

[Freeciv-Dev] solaris warning fix (PR#2527)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] solaris warning fix (PR#2527)
From: "Per I. Mathisen via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 23 Dec 2002 14:50:11 -0800
Reply-to: rt@xxxxxxxxxxxxxx

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 <=