]> git.ozlabs.org Git - ppp.git/commit
Convert to ANSI C
authorPaul Mackerras <paulus@ozlabs.org>
Tue, 29 Dec 2020 05:08:24 +0000 (16:08 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 29 Dec 2020 05:08:24 +0000 (16:08 +1100)
commit75870d7b55e36af526a0786fff94912989c73fd1
tree1de0db83a52899c60f3b7abc0934e377a1667ab7
parent505ec5cbd15ec23ed84282462ae9e451a1978133
Convert to ANSI C

This gets rid of the __P and __V macros that were used so that the
code was in theory compilable by a K&R C compiler, and converts the
function definitions to ANSI C style.  In fact there were already
quite a few function definitions in the ANSI C style, so it would not
have been compilable by a K&R C compiler in fact.

The Solaris and BSD kernel code modules have had __P removed but the
function definitions have not been converted.

There are some other minor changes here to remove warnings.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
65 files changed:
chat/chat.c
include/linux/ppp_defs.h
include/net/if_ppp.h
include/net/ppp-comp.h
include/net/ppp_defs.h
include/net/slcompress.h
include/net/vjcompress.h
modules/bsd-comp.c
modules/deflate.c
modules/if_ppp.c
modules/ppp.c
modules/ppp_ahdlc.c
modules/ppp_comp.c
modules/ppp_mod.h
pppd/auth.c
pppd/cbcp.c
pppd/ccp.c
pppd/chap-new.c
pppd/chap_ms.c
pppd/chap_ms.h
pppd/demand.c
pppd/eap.c
pppd/eap.h
pppd/ecp.c
pppd/eui64.c
pppd/eui64.h
pppd/fsm.c
pppd/fsm.h
pppd/ipcp.c
pppd/ipcp.h
pppd/ipv6cp.c
pppd/ipv6cp.h
pppd/ipxcp.c
pppd/ipxcp.h
pppd/lcp.c
pppd/lcp.h
pppd/magic.c
pppd/magic.h
pppd/main.c
pppd/md4.c
pppd/md4.h
pppd/md5.c
pppd/multilink.c
pppd/options.c
pppd/pathnames.h
pppd/plugins/radius/radiusclient.h
pppd/pppcrypt.c
pppd/pppcrypt.h
pppd/pppd.h
pppd/session.c
pppd/sys-linux.c
pppd/sys-solaris.c
pppd/tty.c
pppd/upap.c
pppd/upap.h
pppd/utils.c
pppdump/bsd-comp.c
pppdump/deflate.c
pppdump/ppp-comp.h
pppstats/pppstats.c
solaris/ppp.c
solaris/ppp_ahdlc.c
solaris/ppp_comp.c
solaris/ppp_mod.c
solaris/ppp_mod.h