[Olsr-cvs] olsrd-current/src main.c,1.95,1.96

Bernd Petrovitsch (spam-protected)
Wed May 9 01:10:39 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19883/src

Modified Files:
	main.c 
Log Message:
*killed a few warnings

Index: main.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/main.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** main.c	25 Apr 2007 22:08:09 -0000	1.95
--- main.c	8 May 2007 23:10:37 -0000	1.96
***************
*** 63,67 ****
  #ifdef WIN32
  #define close(x) closesocket(x)
! int __stdcall SignalHandler(unsigned long signal);
  void ListInterfaces(void);
  void DisableIcmpRedirects(void);
--- 63,67 ----
  #ifdef WIN32
  #define close(x) closesocket(x)
! int __stdcall SignalHandler(unsigned long signal) __attribute__((noreturn));
  void ListInterfaces(void);
  void DisableIcmpRedirects(void);
***************
*** 106,109 ****
--- 106,114 ----
    struct tms tms_buf;
  
+ #ifdef WIN32
+   WSADATA WsaData;
+   int len;
+ #endif
+ 
    /* Stop the compiler from complaining */
    (void)copyright_string;
***************
*** 112,120 ****
    olsr_argv = argv;
  
- #ifdef WIN32
-   WSADATA WsaData;
-   int len;
- #endif
- 
    setbuf(stdout, NULL);
    setbuf(stderr, NULL);
--- 117,120 ----





More information about the Olsr-cvs mailing list