]> git.ozlabs.org Git - ppp.git/commit - pppd/plugins/pppoe/pppoe-discovery.c
Cleanup in pppd/pppd.h, eliminate unecessary headers
authorEivind Næss <eivnaes@yahoo.com>
Mon, 13 Sep 2021 15:17:17 +0000 (08:17 -0700)
committerEivind Næss <eivnaes@yahoo.com>
Fri, 15 Jul 2022 22:25:39 +0000 (15:25 -0700)
commitd2330632fd4bdab5cf89bfdcce45eefd6fe34b97
treea3f10bb097f86d1a8b25cb4b4d4c256619274352
parentbdd34ab1f2f87acb23c6d92feee7354ac53005ff
Cleanup in pppd/pppd.h, eliminate unecessary headers

This removes the need to include the following heades in pppd.h

<limits.h>, this is included where needed (main.c). The number of groups already retrieved is stored in the "int ngroups" variable.
<sys/params.h>, use MAXPATHLEN where needed
<net/if.h>, such that the value of IFNAMSIZ doesn't have to be declared to include <pppd/pppd.h>

Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
pppd/main.c
pppd/options.c
pppd/plugins/passprompt.c
pppd/plugins/pppoatm/pppoatm.c
pppd/plugins/pppoe/plugin.c
pppd/plugins/pppoe/pppoe-discovery.c
pppd/plugins/radius/radius.c
pppd/plugins/radius/radrealms.c
pppd/pppd.h
pppd/sys-linux.c
pppd/tty.c