[Olsr-cvs] olsrd-current/src hashing.h, 1.9, 1.10 hashing.c, 1.14, 1.15

Bernd Petrovitsch (spam-protected)
Thu Aug 2 16:47:28 CEST 2007


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

Modified Files:
	hashing.h hashing.c 
Log Message:
* const-ified parameters

Index: hashing.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/hashing.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** hashing.c	10 Jul 2007 08:42:28 -0000	1.14
--- hashing.c	2 Aug 2007 14:47:26 -0000	1.15
***************
*** 50,54 ****
   * @return the hash(a value in the 0-31 range)
   */
! olsr_u32_t olsr_hashing(union olsr_ip_addr *address)
  {
      olsr_u32_t hash;
--- 50,54 ----
   * @return the hash(a value in the 0-31 range)
   */
! olsr_u32_t olsr_hashing(const union olsr_ip_addr * address)
  {
      olsr_u32_t hash;

Index: hashing.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/hashing.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** hashing.h	31 Jan 2007 12:36:50 -0000	1.9
--- hashing.h	2 Aug 2007 14:47:26 -0000	1.10
***************
*** 50,54 ****
  
  olsr_u32_t
! olsr_hashing(union olsr_ip_addr *);
  
  
--- 50,54 ----
  
  olsr_u32_t
! olsr_hashing(const union olsr_ip_addr *);
  
  





More information about the Olsr-cvs mailing list