From ea25688e463cb4471b6eaa15935b94636fa6bd1b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 12 Oct 2008 00:42:22 +0200 Subject: output_buffer: converted ob_is_empty() to inline The function ob_is_empty() is called very often. It's worth it to convert it to an inline function. --- src/outputBuffer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/outputBuffer.c') diff --git a/src/outputBuffer.c b/src/outputBuffer.c index 5a397ac42..88191fd18 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -101,11 +101,6 @@ void ob_set_lazy(bool lazy) ob.lazy = lazy; } -int ob_is_empty(void) -{ - return ob.begin == ob.end; -} - void ob_shift(void) { assert(ob.begin != ob.end); -- cgit v1.2.3