1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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.
This commit is contained in:
Werner Koch 2023-04-04 16:51:58 +02:00
parent d9e7488b17
commit d261f5e5d0
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 7 additions and 2 deletions

View file

@ -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