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

No differences found