diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-11 02:21:05 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-11 02:21:05 +0000 |
commit | 16d135c39648e7f80ce0ff7e442c753a17e7fa4a (patch) | |
tree | 404afde7de73748f8dfb2eeb583a4eda954687b6 /common/iobuf.h | |
parent | common: Add gnupg_check_special_filename. (diff) | |
download | gnupg-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.h | 2 |
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. */ |