[Olsr-cvs] olsrd-current/lib/nameservice/src compat.c, 1.1, 1.2 nameservice.h, 1.8, 1.9

Bruno Randolf (spam-protected)
Thu Jun 2 17:34:03 CEST 2005


Update of /cvsroot/olsrd/olsrd-current/lib/nameservice/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2168/lib/nameservice/src

Modified Files:
	compat.c nameservice.h 
Log Message:
netbsd small fixes and status update


Index: nameservice.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/nameservice/src/nameservice.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** nameservice.h	29 May 2005 12:47:42 -0000	1.8
--- nameservice.h	2 Jun 2005 15:34:00 -0000	1.9
***************
*** 39,42 ****
--- 39,44 ----
  #define _NAMESERVICE_PLUGIN
  
+ #include <sys/time.h>
+ 
  #include "olsr_types.h"
  #include "interfaces.h"

Index: compat.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/nameservice/src/compat.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** compat.c	29 May 2005 12:47:42 -0000	1.1
--- compat.c	2 Jun 2005 15:34:00 -0000	1.2
***************
*** 3,6 ****
--- 3,7 ----
  #ifndef linux
  #include <stdlib.h>
+ #include <string.h>
  
  /* strndup() is a GNU extention */
***************
*** 8,12 ****
  strndup(const char *ptr, size_t size)
  {
!   int len = strlen(ptr);
    char *ret = NULL;
  
--- 9,13 ----
  strndup(const char *ptr, size_t size)
  {
!   size_t len = strlen(ptr);
    char *ret = NULL;
  




More information about the Olsr-cvs mailing list