diff options
author | kan <kan@FreeBSD.org> | 2003-04-29 13:36:06 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-04-29 13:36:06 +0000 |
commit | 9468fdaf14ab3e5212aac4e764e4616b726ec850 (patch) | |
tree | 9f5fdcd6775a2bfa21ddfc84568b82ecb2815a2b /sys/netgraph | |
parent | 4e1e1a4c31b3be0a9725f0b26280f63c5315d606 (diff) | |
download | FreeBSD-src-9468fdaf14ab3e5212aac4e764e4616b726ec850.zip FreeBSD-src-9468fdaf14ab3e5212aac4e764e4616b726ec850.tar.gz |
Deprecate machine/limits.h in favor of new sys/limits.h.
Change all in-tree consumers to include <sys/limits.h>
Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/ng_base.c | 2 | ||||
-rw-r--r-- | sys/netgraph/ng_ppp.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 786eecd..8135c6e 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -48,6 +48,7 @@ #include <sys/systm.h> #include <sys/errno.h> #include <sys/kernel.h> +#include <sys/limits.h> #include <sys/malloc.h> #include <sys/syslog.h> #include <sys/sysctl.h> @@ -56,7 +57,6 @@ #include <sys/mbuf.h> #include <sys/ctype.h> #include <sys/sysctl.h> -#include <machine/limits.h> #include <net/netisr.h> diff --git a/sys/netgraph/ng_ppp.c b/sys/netgraph/ng_ppp.c index 6dfa4a4..a11335f 100644 --- a/sys/netgraph/ng_ppp.c +++ b/sys/netgraph/ng_ppp.c @@ -47,14 +47,13 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#include <sys/limits.h> #include <sys/time.h> #include <sys/mbuf.h> #include <sys/malloc.h> #include <sys/errno.h> #include <sys/ctype.h> -#include <machine/limits.h> - #include <netgraph/ng_message.h> #include <netgraph/netgraph.h> #include <netgraph/ng_parse.h> |