[Olsr-cvs] olsrd-current/src/win32 ifnet.c,1.35,1.36

Bernd Petrovitsch (spam-protected)
Thu Apr 26 00:21:19 CEST 2007


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

Modified Files:
	ifnet.c 
Log Message:
* killed warnings

Index: ifnet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/win32/ifnet.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** ifnet.c	25 Apr 2007 22:08:18 -0000	1.35
--- ifnet.c	25 Apr 2007 22:21:17 -0000	1.36
***************
*** 114,118 ****
  void WinSockPError(char *);
  char *StrError(unsigned int ErrNo);
! int inet_pton(int af, char *src, void *dst);
  
  void ListInterfaces(void);
--- 114,118 ----
  void WinSockPError(char *);
  char *StrError(unsigned int ErrNo);
! int inet_pton(int af, const char *src, void *dst);
  
  void ListInterfaces(void);
***************
*** 124,128 ****
  int __stdcall SignalHandler(unsigned long Signal);
  
! static unsigned long __stdcall SignalHandlerWrapper(void *Dummy)
  {
    SignalHandler(0);
--- 124,128 ----
  int __stdcall SignalHandler(unsigned long Signal);
  
! static unsigned long __stdcall SignalHandlerWrapper(void *Dummy __attribute__((unused)))
  {
    SignalHandler(0);
***************
*** 933,937 ****
  }
  
! int chk_if_up(struct olsr_if *IntConf, int DebugLevel)
  {
    struct InterfaceInfo Info;
--- 933,937 ----
  }
  
! int chk_if_up(struct olsr_if *IntConf, int DebugLevel __attribute__((unused)))
  {
    struct InterfaceInfo Info;
***************
*** 1100,1104 ****
  }
  
! void check_interface_updates(void *dummy)
  {
    struct olsr_if *IntConf;
--- 1100,1104 ----
  }
  
! void check_interface_updates(void *dummy __attribute__((unused)))
  {
    struct olsr_if *IntConf;





More information about the Olsr-cvs mailing list