mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <gniibe@fsij.org>
This commit is contained in:
parent
250733c0d8
commit
16d135c396
2 changed files with 3 additions and 4 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue