[Olsr-cvs] olsrd-current/lib/dyn_gw/src olsrd_dyn_gw.c,1.20,1.21

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


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

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

Index: olsrd_dyn_gw.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/dyn_gw/src/olsrd_dyn_gw.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** olsrd_dyn_gw.c	20 Apr 2007 14:06:18 -0000	1.20
--- olsrd_dyn_gw.c	8 May 2007 23:49:00 -0000	1.21
***************
*** 433,437 ****
  }
  
! int pthread_create(HANDLE *Hand, void *Attr, void *(*Func)(void *), void *Arg)
  {
    struct ThreadPara *Para;
--- 433,437 ----
  }
  
! int pthread_create(HANDLE *Hand, void *Attr __attribute__((unused)), void *(*Func)(void *), void *Arg)
  {
    struct ThreadPara *Para;
***************
*** 454,458 ****
  }
  
! int pthread_kill(HANDLE Hand, int Sig)
  {
    if (!TerminateThread(Hand, 0))
--- 454,458 ----
  }
  
! int pthread_kill(HANDLE Hand, int Sig __attribute__((unused)))
  {
    if (!TerminateThread(Hand, 0))
***************
*** 462,466 ****
  }
  
! int pthread_mutex_init(HANDLE *Hand, void *Attr)
  {
    *Hand = CreateMutex(NULL, FALSE, NULL);
--- 462,466 ----
  }
  
! int pthread_mutex_init(HANDLE *Hand, void *Attr __attribute__((unused)))
  {
    *Hand = CreateMutex(NULL, FALSE, NULL);





More information about the Olsr-cvs mailing list