[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Sat Jan 19 16:07:31 UTC 2019
New commits:
commit 199ac9a7405ee86013941b7627a38f77b060dec5
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Sat Jan 19 10:53:49 2019 -0500
EMPTY_CHUNK: add const qualifier to type of EMPTY_CHUNK
Since a C compound literal is an object, it can be modified.
EMPTY_CHUNK expands into a compound literal.
In theory, every use of EMPTY_CHUNK creates a distinct object.
Adding "const" to the type signals the compiler and the
programmer that these objects cannot and must not be modified.
More information about the Swan-commit
mailing list