From 6d49a2b6691f2dd0d8ac34a15f18cc2a0c3ba5d3 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Thu, 13 Aug 2015 15:53:11 +0200 Subject: 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 . --- common/iobuf.h | 1 - 1 file changed, 1 deletion(-) (limited to 'common/iobuf.h') 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) -- cgit v1.2.3