mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <neal@g10code.com>.
This commit is contained in:
parent
1f94646a86
commit
6d49a2b669
2 changed files with 25 additions and 17 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue