Diff for /src/usr.sbin/IPXrouted/timer.c between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:29:52 version 1.3, 2004/03/11 09:38:59
Line 36 Line 36
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  * $FreeBSD: src/usr.sbin/IPXrouted/timer.c,v 1.5 1999/08/28 01:15:06 peter Exp $   * $FreeBSD: src/usr.sbin/IPXrouted/timer.c,v 1.5 1999/08/28 01:15:06 peter Exp $
 * $DragonFly: src/usr.sbin/IPXrouted/timer.c,v 1.1 2003/06/16 07:16:26 dillon Exp $ * $DragonFly$
  *   *
  * @(#)timer.c  8.1 (Berkeley) 6/5/93   * @(#)timer.c  8.1 (Berkeley) 6/5/93
  */   */
Line 55  int timeval = -TIMER_RATE; Line 55  int timeval = -TIMER_RATE;
  * duties and manages timers on routing and SAP table entries.   * duties and manages timers on routing and SAP table entries.
  */   */
 void  void
timer()timer(void)
 {  {
        register struct rthash *rh;        struct rthash *rh;
        register struct rt_entry *rt;        struct rt_entry *rt;
        register struct sap_hash *sh;        struct sap_hash *sh;
        register struct sap_entry *sap;        struct sap_entry *sap;
         struct sap_hash *sap_base = sap_head;          struct sap_hash *sap_base = sap_head;
         int timetobroadcast, ripbroadcast, sapbroadcast;          int timetobroadcast, ripbroadcast, sapbroadcast;
   
Line 208  timer() Line 208  timer()
  * On hangup, let everyone know we're going away.   * On hangup, let everyone know we're going away.
  */   */
 void  void
hup()hup(void)
 {  {
        register struct rthash *rh;        struct rthash *rh;
        register struct rt_entry *rt;        struct rt_entry *rt;
        register struct sap_hash *sh;        struct sap_hash *sh;
        register struct sap_entry *sap;        struct sap_entry *sap;
   
         if (supplier) {          if (supplier) {
                 for (rh = nethash; rh < &nethash[ROUTEHASHSIZ]; rh++) {                  for (rh = nethash; rh < &nethash[ROUTEHASHSIZ]; rh++) {

Removed from v.1.2  
changed lines
  Added in v.1.3