diff options
author | Werner Koch <[email protected]> | 2023-04-04 14:51:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-04-04 14:51:58 +0000 |
commit | d261f5e5d0d56dcb3fbf323e94625ac18e7848d6 (patch) | |
tree | 7027e14ee0a994569d4982c867ab125a02cf5a24 /common/comopt.c | |
parent | Use the keyboxd for a fresh install (diff) | |
download | gnupg-d261f5e5d0d56dcb3fbf323e94625ac18e7848d6.tar.gz gnupg-d261f5e5d0d56dcb3fbf323e94625ac18e7848d6.zip |
common: Change allocation of the comopt symbol.
* common/comopt.h (struct gnupg_comopt_s): New.
* common/comopt.c (struct gnupg_comopt_s): Define here in the data
segment.
Diffstat (limited to 'common/comopt.c')
-rw-r--r-- | common/comopt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/comopt.c b/common/comopt.c index 470cdac61..1cfd581b1 100644 --- a/common/comopt.c +++ b/common/comopt.c @@ -60,6 +60,8 @@ static gpgrt_opt_t opts[] = { }; +struct gnupg_comopt_s comopt = {NULL}; + /* Parse the common options in the homedir and etc. This needs to be * called after the gpgrt config directories are set. MODULE_ID is one of |