aboutsummaryrefslogtreecommitdiffstats
path: root/common/logging.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-23 11:50:27 +0000
committerJustus Winter <[email protected]>2017-04-07 11:11:31 +0000
commitc9c3fe883271868d3b2dd287d295cf6a8f8ffc05 (patch)
tree55a4ff092a914f3320bc7546a1f2ea0a15cf0cbb /common/logging.c
parentgpgscm: Remove arbitrary limit on number of cell segments. (diff)
downloadgnupg-c9c3fe883271868d3b2dd287d295cf6a8f8ffc05.tar.gz
gnupg-c9c3fe883271868d3b2dd287d295cf6a8f8ffc05.zip
gpgscm: Make global data constant when possible.
* tests/gpgscm/scheme-private.h (struct scheme): Make 'vptr' const. * tests/gpgscm/scheme.c (num_zero): Statically initialize and turn into constant. (num_one): Likewise. (charnames): Change type so that it can be stored in rodata. (is_ascii_name): Adapt slightly. (assign_proc): Make argument const char *. (op_code_info): Make some fields const char *. (tests): Make const. (dispatch_table): Make const. At least it can be made read-only after relocation. (Eval_Cycle): Adapt slightly. (vtbl): Make const. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'common/logging.c')
0 files changed, 0 insertions, 0 deletions