]> git.ozlabs.org Git - ppp.git/commit
pppoe: Remove the use of cdefs
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Mon, 30 Sep 2019 12:45:08 +0000 (14:45 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 1 Oct 2019 22:47:40 +0000 (08:47 +1000)
commit3202f8916306cc42bcabbae48ae45d0e18ab0826
treec0f5f1a4918a97248281e3947a08c0c675d37a5d
parentd8e8d7a74b791743ad67e8bdba10508b0f901beb
pppoe: Remove the use of cdefs

sys/cdefs.h contains the __P() macro.
The header doesn't exist in my musl toolchain,
the __P() macro has been obsoleted even by glibc,
and it's never used in the code.
This commit removes the need for this remainder.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/plugins/rp-pppoe/config.h
pppd/plugins/rp-pppoe/pppoe.h