summaryrefslogtreecommitdiff
path: root/src/gcrypt-int.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2015-10-13 12:28:00 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2015-10-13 12:28:00 +0900
commit73374fdd27c7ba28b19f9672c68a6f5b72252fe5 (patch)
tree677590debae3a5ece5af31640c9f407b33675536 /src/gcrypt-int.h
parent3a3d5410cc83f7069c7cb1ab384905f382292d32 (diff)
downloadlibgcrypt-73374fdd27c7ba28b19f9672c68a6f5b72252fe5.tar.gz
Fix declaration of return type.
* src/gcrypt-int.h (_gcry_sexp_extract_param): Return gpg_error_t. * cipher/dsa.c (dsa_generate): Fix call to _gcry_sexp_extract_param. * src/g10lib.h (_gcry_vcontrol): Return gcry_err_code_t. * src/visibility.c (gcry_mpi_snatch): Fix call to _gcry_mpi_snatch. -- GnuPG-bug-id: 2074
Diffstat (limited to 'src/gcrypt-int.h')
-rw-r--r--src/gcrypt-int.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gcrypt-int.h b/src/gcrypt-int.h
index 29d4fd3b..ea3c8d53 100644
--- a/src/gcrypt-int.h
+++ b/src/gcrypt-int.h
@@ -329,10 +329,10 @@ void *_gcry_sexp_nth_buffer (const gcry_sexp_t list, int number,
size_t *rlength);
char *_gcry_sexp_nth_string (gcry_sexp_t list, int number);
gcry_mpi_t _gcry_sexp_nth_mpi (gcry_sexp_t list, int number, int mpifmt);
-gpg_err_code_t _gcry_sexp_extract_param (gcry_sexp_t sexp,
- const char *path,
- const char *list,
- ...) _GCRY_GCC_ATTR_SENTINEL(0);
+gpg_error_t _gcry_sexp_extract_param (gcry_sexp_t sexp,
+ const char *path,
+ const char *list,
+ ...) _GCRY_GCC_ATTR_SENTINEL(0);
#define sexp_new(a, b, c, d) _gcry_sexp_new ((a), (b), (c), (d))
#define sexp_create(a, b, c, d, e) _gcry_sexp_create ((a), (b), (c), (d), (e))