[Olsr-cvs] olsrd-current/src/cfgparser olsrd_conf.h, 1.12, 1.13 olsrd_conf.c, 1.52, 1.53

Bernd Petrovitsch (spam-protected)
Sat Apr 28 22:46:34 CEST 2007


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

Modified Files:
	olsrd_conf.h olsrd_conf.c 
Log Message:
* avoid as much code and linker information as possible

Index: olsrd_conf.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/olsrd_conf.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** olsrd_conf.h	30 Nov 2004 16:52:16 -0000	1.12
--- olsrd_conf.h	28 Apr 2007 20:46:32 -0000	1.13
***************
*** 65,70 ****
--- 65,74 ----
  set_default_cnf(struct olsrd_config *);
  
+ #if defined WIN32_STDIO_HACK
  void 
  win32_stdio_hack(unsigned int);
+ #else
+ #define win32_stdio_hack(handle) do { } while(0)
+ #endif
  
  #endif

Index: olsrd_conf.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/olsrd_conf.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** olsrd_conf.c	20 Apr 2007 13:46:05 -0000	1.52
--- olsrd_conf.c	28 Apr 2007 20:46:32 -0000	1.53
***************
*** 732,736 ****
    setbuf(stderr, NULL);
  }
- #else
- void win32_stdio_hack(unsigned int handle __attribute__((unused))) {}
  #endif
--- 732,734 ----





More information about the Olsr-cvs mailing list