[Olsr-cvs] olsrd-current/src/win32 compat.c,1.15,1.16
Bernd Petrovitsch
(spam-protected)
Sun Jul 15 23:09:40 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src/win32
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21710/src/win32
Modified Files:
compat.c
Log Message:
* killed warnings on win
Index: compat.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/win32/compat.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** compat.c 9 May 2007 00:30:04 -0000 1.15
--- compat.c 15 Jul 2007 21:09:38 -0000 1.16
***************
*** 62,65 ****
--- 62,66 ----
#include <ctype.h>
#include <dlfcn.h>
+ #include <io.h>
#include "defs.h"
***************
*** 124,128 ****
}
! int inet_aton(char *AddrStr, struct in_addr *Addr)
{
Addr->s_addr = inet_addr(AddrStr);
--- 125,129 ----
}
! int inet_aton(const char *AddrStr, struct in_addr *Addr)
{
Addr->s_addr = inet_addr(AddrStr);
***************
*** 527,531 ****
/* and we emulate a real write(2) syscall using send() */
! ssize_t write(int fd, const void *buf, size_t count)
{
size_t written = 0;
--- 528,532 ----
/* and we emulate a real write(2) syscall using send() */
! int write(int fd, const void *buf, unsigned int count)
{
size_t written = 0;
More information about the Olsr-cvs
mailing list