]> git.ozlabs.org Git - ppp.git/commit
pppd: Rework use of volatile in lcp-rtt code to eliminate warnings (#469)
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 1 Jan 2024 08:24:34 +0000 (19:24 +1100)
committerGitHub <noreply@github.com>
Mon, 1 Jan 2024 08:24:34 +0000 (19:24 +1100)
commitfafbfdf19a3d52e85ec2a445bd72e412a06cb0d0
tree282888ed34c5369586ddd64fa6e78c000860a5da
parent84fc8a8e675be4bbeeed41d38e99937c9322fdd9
pppd: Rework use of volatile in lcp-rtt code to eliminate warnings (#469)

To eliminate the warnings, the lcp_rtt_buffer variable no longer
points to volatile, and instead accesses are made using 'ring_header'
local variables, which do point to volatile, and contain the same
address.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/lcp.c