diff options
author | Neal H. Walfield <[email protected]> | 2015-08-13 13:53:11 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:21 +0000 |
commit | 6d49a2b6691f2dd0d8ac34a15f18cc2a0c3ba5d3 (patch) | |
tree | 86ad8aa8d730c25d5b6012e18b5c4e29bb7b4fa8 /common/iobuf.h | |
parent | common/iobuf.c: Don't abort freeing a pipeline if freeing a filter fails (diff) | |
download | gnupg-6d49a2b6691f2dd0d8ac34a15f18cc2a0c3ba5d3.tar.gz gnupg-6d49a2b6691f2dd0d8ac34a15f18cc2a0c3ba5d3.zip |
common/iobuf.c: Rename iobuf_flush and make it a static function.
* common/iobuf.h (iobuf_flush): Remove prototype.
* common/iobuf.c (filter_flush): New static prototype.
(iobuf_flush): Rename...
(filter_flush): ... to this. Make static. Simplify code. Update
callers.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'common/iobuf.h')
-rw-r--r-- | common/iobuf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/iobuf.h b/common/iobuf.h index 900a12b62..18e1be14c 100644 --- a/common/iobuf.h +++ b/common/iobuf.h @@ -138,7 +138,6 @@ int iobuf_push_filter2 (iobuf_t a, int (*f) (void *opaque, int control, iobuf_t chain, byte * buf, size_t * len), void *ov, int rel_ov); -int iobuf_flush (iobuf_t a); #define iobuf_set_error(a) do { (a)->error = 1; } while(0) #define iobuf_error(a) ((a)->error) |