]> git.ozlabs.org Git - ppp.git/commitdiff
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)
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>

No differences found