34c34
< * $FreeBSD: head/sys/net/if_disc.c 54263 1999-12-07 17:39:16Z shin $
---
> * $FreeBSD: head/sys/net/if_disc.c 71862 2001-01-31 07:58:58Z peter $
44a45
> #include <sys/module.h>
63,64c64
< static void discattach __P((void *dummy));
< PSEUDO_SET(discattach, if_disc);
---
> static void discattach __P((void));
74,75c74
< discattach(dummy)
< void *dummy;
---
> discattach()
92a92,113
> disc_modevent(module_t mod, int type, void *data)
> {
> switch (type) {
> case MOD_LOAD:
> discattach();
> break;
> case MOD_UNLOAD:
> printf("if_disc module unload - not possible for this module type\n");
> return EINVAL;
> }
> return 0;
> }
>
> static moduledata_t disc_mod = {
> "if_disc",
> disc_modevent,
> NULL
> };
>
> DECLARE_MODULE(if_disc, disc_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
>
> static int
< * $FreeBSD: head/sys/net/if_disc.c 54263 1999-12-07 17:39:16Z shin $
---
> * $FreeBSD: head/sys/net/if_disc.c 71862 2001-01-31 07:58:58Z peter $
44a45
> #include <sys/module.h>
63,64c64
< static void discattach __P((void *dummy));
< PSEUDO_SET(discattach, if_disc);
---
> static void discattach __P((void));
74,75c74
< discattach(dummy)
< void *dummy;
---
> discattach()
92a92,113
> disc_modevent(module_t mod, int type, void *data)
> {
> switch (type) {
> case MOD_LOAD:
> discattach();
> break;
> case MOD_UNLOAD:
> printf("if_disc module unload - not possible for this module type\n");
> return EINVAL;
> }
> return 0;
> }
>
> static moduledata_t disc_mod = {
> "if_disc",
> disc_modevent,
> NULL
> };
>
> DECLARE_MODULE(if_disc, disc_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
>
> static int