aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-07-11 02:21:05 +0000
committerNIIBE Yutaka <[email protected]>2023-07-11 02:21:05 +0000
commit16d135c39648e7f80ce0ff7e442c753a17e7fa4a (patch)
tree404afde7de73748f8dfb2eeb583a4eda954687b6 /common/iobuf.h
parentcommon: Add gnupg_check_special_filename. (diff)
downloadgnupg-16d135c39648e7f80ce0ff7e442c753a17e7fa4a.tar.gz
gnupg-16d135c39648e7f80ce0ff7e442c753a17e7fa4a.zip
common: Change iobuf_fdopen argument type to gnupg_fd_t.
* common/iobuf.h (iobuf_fdopen): Use gnupg_fd_t. * common/iobuf.c (iobuf_fdopen): Use gnupg_fd_t. (iobuf_sockopen): Call do_iobuf_fdopen. -- GnuPG-bug-id: 6580 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/iobuf.h')
-rw-r--r--common/iobuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/iobuf.h b/common/iobuf.h
index c523b8c96..4a723908d 100644
--- a/common/iobuf.h
+++ b/common/iobuf.h
@@ -333,7 +333,7 @@ iobuf_t iobuf_openrw (const char *fname);
creates an input filter. Note: MODE must reflect the file
descriptors actual mode! When the filter is destroyed, the file
descriptor is closed. */
-iobuf_t iobuf_fdopen (int fd, const char *mode);
+iobuf_t iobuf_fdopen (gnupg_fd_t fd, const char *mode);
/* Like iobuf_fdopen, but doesn't close the file descriptor when the
filter is destroyed. */