[Olsr-cvs] olsrd-current/src scheduler.c, 1.41, 1.42 net_olsr.c, 1.25, 1.26 lq_packet.h, 1.6, 1.7 defs.h, 1.61, 1.62

Bernd Petrovitsch (spam-protected)
Mon Aug 20 01:00:24 CEST 2007


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

Modified Files:
	scheduler.c net_olsr.c lq_packet.h defs.h 
Log Message:
cleanup: killed "extern" from .c files


Index: defs.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/defs.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** defs.h	2 Aug 2007 21:45:33 -0000	1.61
--- defs.h	19 Aug 2007 23:00:22 -0000	1.62
***************
*** 133,136 ****
--- 133,141 ----
  extern struct tm *nowtm;	       /* current idea of time (in tm) */
  
+ #if defined WIN32
+ extern olsr_bool olsr_win32_end_request;
+ extern olsr_bool olsr_win32_end_flag;
+ #endif
+ 
  /*
   *IPC functions

Index: lq_packet.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/lq_packet.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lq_packet.h	20 Feb 2005 18:52:18 -0000	1.6
--- lq_packet.h	19 Aug 2007 23:00:22 -0000	1.7
***************
*** 159,161 ****
--- 159,163 ----
                        union olsr_ip_addr *from);
  
+ extern olsr_bool lq_tc_pending;
+ 
  #endif

Index: net_olsr.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/net_olsr.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** net_olsr.c	2 Aug 2007 22:07:19 -0000	1.25
--- net_olsr.c	19 Aug 2007 23:00:22 -0000	1.26
***************
*** 46,54 ****
  #include "print_packet.h"
  #include "link_set.h"
  #include <stdlib.h>
  #include <assert.h>
  
- extern olsr_bool lq_tc_pending;
- 
  static olsr_bool disp_pack_out = OLSR_FALSE;
  
--- 46,54 ----
  #include "print_packet.h"
  #include "link_set.h"
+ #include "lq_packet.h"
+ 
  #include <stdlib.h>
  #include <assert.h>
  
  static olsr_bool disp_pack_out = OLSR_FALSE;
  

Index: scheduler.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/scheduler.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** scheduler.c	2 Aug 2007 12:24:37 -0000	1.41
--- scheduler.c	19 Aug 2007 23:00:21 -0000	1.42
***************
*** 53,61 ****
  #include "build_msg.h"
  
- #if defined WIN32
- extern olsr_bool olsr_win32_end_request;
- extern olsr_bool olsr_win32_end_flag;
- #endif
- 
  /* Timer data, global. Externed in defs.h */
  clock_t now_times;              /* current idea of times(2) reported uptime */
--- 53,56 ----





More information about the Olsr-cvs mailing list