diff options
author | Neal H. Walfield <[email protected]> | 2015-08-13 14:09:15 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:22 +0000 |
commit | 8402815d8e0e04a44362968f88b3d484d2395402 (patch) | |
tree | f9a5fd9e9fc6cba353219f9be8ddb530c438f4e6 /common/iobuf.h | |
parent | common/iobuf.c: Rename iobuf_flush and make it a static function. (diff) | |
download | gnupg-8402815d8e0e04a44362968f88b3d484d2395402.tar.gz gnupg-8402815d8e0e04a44362968f88b3d484d2395402.zip |
common/iobuf.h: Remove iobuf_open_fd_or_name.
* common/iobuf.h (iobuf_open_fd_or_name): Remove prototype. Replace
use with either iobuf_open or iobuf_fdopen_nc, as appropriate.
* common/iobuf.c (iobuf_open): Remove function.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'common/iobuf.h')
-rw-r--r-- | common/iobuf.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/iobuf.h b/common/iobuf.h index 18e1be14c..5cfccb8f0 100644 --- a/common/iobuf.h +++ b/common/iobuf.h @@ -118,8 +118,6 @@ int iobuf_is_pipe_filename (const char *fname); iobuf_t iobuf_alloc (int use, size_t bufsize); iobuf_t iobuf_temp (void); iobuf_t iobuf_temp_with_content (const char *buffer, size_t length); -iobuf_t iobuf_open_fd_or_name (gnupg_fd_t fd, const char *fname, - const char *mode); iobuf_t iobuf_open (const char *fname); iobuf_t iobuf_fdopen (int fd, const char *mode); iobuf_t iobuf_fdopen_nc (int fd, const char *mode); |