summaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2017-06-07 12:33:36 +0200
committerJustus Winter <justus@g10code.com>2017-06-07 16:53:32 +0200
commitf440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc (patch)
tree917ac3ec9b7994e2c916fe65970dfb281eabb4f4 /g10/main.h
parentcommon,gpg,sm: Move the compliance option parser. (diff)
downloadgnupg2-f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc.tar.xz
gnupg2-f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc.zip
common,gpg: Move the compliance option printer.
* common/compliance.c (gnupg_compliance_option_string): New function. * common/compliance.h (gnupg_compliance_option_string): New prototype. * g10/encrypt.c (write_pubkey_enc_from_list): Update callsite. * g10/gpg.c (main): Likewise. * g10/keyedit.c (keyedit_menu): Likewise. * g10/pkclist.c (build_pk_list): Likewise. * g10/main.h (compliance_option_string): Remove prototype. * g10/misc.c (compliance_option_string): Remove function. GnuPG-bug-id: 3191 Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h
index c406113df..33116d2ef 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -155,7 +155,6 @@ int string_to_compress_algo(const char *string);
int check_compress_algo(int algo);
int default_cipher_algo(void);
int default_compress_algo(void);
-const char *compliance_option_string(void);
void compliance_failure(void);
struct parse_options