--- Net2/netinet/in_proto.c 2018/04/24 18:03:54 1.1.1.1 +++ Net2/netinet/in_proto.c 2018/04/24 18:08:13 1.1.1.3 @@ -60,8 +60,7 @@ int rip_input(),rip_output(),rip_ctloutp * Using the raw interface entry to get the timer routine * in is a kludge. */ -#include "imp.h" -#if NIMP > 0 +#ifdef IMP int rimp_output(), hostslowtimo(); #endif @@ -156,22 +155,3 @@ struct domain impdomain = impsw, &impsw[sizeof (impsw)/sizeof(impsw[0])] }; #endif -#include "hy.h" -#if NHY > 0 -/* - * HYPERchannel protocol family: raw interface. - */ -int rhy_output(); -extern struct domain hydomain; - -struct protosw hysw[] = { -{ SOCK_RAW, &hydomain, 0, PR_ATOMIC|PR_ADDR, - 0, rhy_output, 0, 0, - rip_usrreq, - 0, 0, 0, 0, -}, -}; - -struct domain hydomain = - { AF_HYLINK, "hy", 0, 0, 0, hysw, &hysw[sizeof (hysw)/sizeof(hysw[0])] }; -#endif