[Olsr-cvs] olsrd-current/src/win32 compat.c,1.12,1.13

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


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

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

Index: compat.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/win32/compat.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** compat.c	21 Mar 2005 02:17:36 -0000	1.12
--- compat.c	8 May 2007 23:05:58 -0000	1.13
***************
*** 101,105 ****
  }
  
! void gettimeofday(struct timeval *TVal, void *TZone)
  {
    SYSTEMTIME SysTime;
--- 101,105 ----
  }
  
! void gettimeofday(struct timeval *TVal, void *TZone __attribute__((unused)))
  {
    SYSTEMTIME SysTime;
***************
*** 119,123 ****
  }
  
! long times(struct tms *Dummy)
  {
    return (long)GetTickCount();
--- 119,123 ----
  }
  
! long times(struct tms *Dummy __attribute__((unused)))
  {
    return (long)GetTickCount();
***************
*** 166,170 ****
  // XXX - not thread-safe, which is okay for our purposes
   
! void *dlopen(char *Name, int Flags)
  {
  #if !defined WINCE
--- 166,170 ----
  // XXX - not thread-safe, which is okay for our purposes
   
! void *dlopen(char *Name, int Flags __attribute__((unused)))
  {
  #if !defined WINCE





More information about the Olsr-cvs mailing list