Diff for /src/usr.sbin/IPXrouted/main.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/main.c,v 1.10 1999/08/28 01:15:03 peter Exp $   * $FreeBSD: src/usr.sbin/IPXrouted/main.c,v 1.10 1999/08/28 01:15:03 peter Exp $
 * $DragonFly: src/usr.sbin/IPXrouted/main.c,v 1.1 2003/06/16 07:16:16 dillon Exp $ * $DragonFly$
  *   *
  * @(#) Copyright (c) 1985, 1993 The Regents of the University of California.  All rights reserved.   * @(#) Copyright (c) 1985, 1993 The Regents of the University of California.  All rights reserved.
  * @(#)main.c   8.1 (Berkeley) 6/5/93   * @(#)main.c   8.1 (Berkeley) 6/5/93
Line 92  void getinfo(); Line 92  void getinfo();
 void    catchtimer();  void    catchtimer();
   
 int  int
main(argc, argv)main(int argc, char *argv[])
        int argc; 
        char *argv[]; 
 {  {
         int nfds;          int nfds;
         fd_set fdvar;          fd_set fdvar;
Line 265  main(argc, argv) Line 263  main(argc, argv)
 }  }
   
 void  void
process(fd, pkt_type)process(int fd, int pkt_type)
        int fd; 
        int pkt_type; 
 {  {
         struct sockaddr from;          struct sockaddr from;
         int fromlen = sizeof (from), cc, omask;          int fromlen = sizeof (from), cc, omask;
Line 309  process(fd, pkt_type) Line 305  process(fd, pkt_type)
 }  }
   
 int  int
getsocket(type, proto, sipx)getsocket(int type, int proto, struct sockaddr_ipx *sipx)
        int type, proto;  
        struct sockaddr_ipx *sipx; 
 {  {
         int domain = sipx->sipx_family;          int domain = sipx->sipx_family;
         int retry, s, on = 1;          int retry, s, on = 1;
Line 365  getsocket(type, proto, sipx) Line 359  getsocket(type, proto, sipx)
  * Fork and exit on EMT-- for profiling.   * Fork and exit on EMT-- for profiling.
  */   */
 void  void
fkexit()fkexit(void)
 {  {
         if (fork() == 0)          if (fork() == 0)
                 exit(0);                  exit(0);
 }  }
   
 void  void
catchtimer()catchtimer(void)
 {  {
         dobcast = 1;          dobcast = 1;
 }  }
   
 void  void
getinfo()getinfo(void)
 {  {
         FILE *fh;          FILE *fh;
   

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