From ee9e3578ce30892ce86276819f0eedf8fb3f6e47 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 14 Jul 2023 15:52:08 +0900 Subject: gpg: Use gnupg_fd_t for iobuf_get_fd and is_secured_file. * common/iobuf.c (iobuf_get_fd): Return type is now gnupg_fd_t. * common/iobuf.h (iobuf_get_fd): Fix the return type. * g10/misc.c (is_secured_file): Argument is now gnupg_fd_t. * g10/main.h (is_secured_file): Fix the argument type. -- GnuPG-bug-id: 6580 Signed-off-by: NIIBE Yutaka --- common/iobuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/iobuf.h') diff --git a/common/iobuf.h b/common/iobuf.h index 4a723908d..4354c718d 100644 --- a/common/iobuf.h +++ b/common/iobuf.h @@ -590,7 +590,7 @@ uint64_t iobuf_get_filelength (iobuf_t a); /* Return the file descriptor designating the underlying file. This only works with file_filter based pipelines. */ -int iobuf_get_fd (iobuf_t a); +gnupg_fd_t iobuf_get_fd (iobuf_t a); /* Return the real filename, if available. This only supports pipelines that end in file filters. Returns NULL if not -- cgit v1.2.3