[Olsr-cvs] olsrd-current/src net_olsr.h, 1.15, 1.16 defs.h, 1.66, 1.67

Bernd Petrovitsch (spam-protected)
Sun Nov 11 23:51:57 CET 2007


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

Modified Files:
	net_olsr.h defs.h 
Log Message:
* moved the #define INLINE to a more appropriate .h file

Index: defs.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/defs.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** defs.h	8 Nov 2007 22:47:41 -0000	1.66
--- defs.h	11 Nov 2007 22:51:54 -0000	1.67
***************
*** 108,111 ****
--- 108,113 ----
  #endif
  
+ #define INLINE inline __attribute__((always_inline))
+ 
  /*
   * Queueing macros

Index: net_olsr.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/net_olsr.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** net_olsr.h	8 Nov 2007 22:47:41 -0000	1.15
--- net_olsr.h	11 Nov 2007 22:51:54 -0000	1.16
***************
*** 61,65 ****
   * Macros for comparing and copying IP addresses
   */
- #define INLINE inline __attribute__((always_inline))
  static INLINE int ip4cmp(const struct in_addr *a, const struct in_addr *b) { return ntohl(a->s_addr) - ntohl(b->s_addr); }
  static INLINE int ip4equal(const struct in_addr *a, const struct in_addr *b) { return a->s_addr == b->s_addr; }
--- 61,64 ----





More information about the Olsr-cvs mailing list