Diff for /src/sys/net/bpf.c between versions 1.16 and 1.17

version 1.16, 2004/05/13 23:49:24 version 1.17, 2004/05/19 22:52:59
Line 1397  bpfdetach(ifp) Line 1397  bpfdetach(ifp)
 static void bpf_drvinit (void *unused);  static void bpf_drvinit (void *unused);
   
 static void  static void
bpf_drvinit(unused)bpf_drvinit(void *unused)
        void *unused; 
 {  {
        cdevsw_add(&bpf_cdevsw, 0, 0);
        cdevsw_add(&bpf_cdevsw); 
 }  }
   
 SYSINIT(bpfdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,bpf_drvinit,NULL)  SYSINIT(bpfdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,bpf_drvinit,NULL)

Removed from v.1.16  
changed lines
  Added in v.1.17