Added missing returns (forgot to commit this...).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10674 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-01-11 23:41:49 +00:00
parent 9c4f4c037d
commit 1bf35f0f75
@@ -1,7 +1,7 @@
/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
/*
* Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include "line_buffer.h"
@@ -15,6 +15,7 @@ clear_line_buffer(struct line_buffer &buffer)
{
buffer.in = 0;
buffer.first = 0;
return B_OK;
}
@@ -98,6 +99,7 @@ line_buffer_putc(struct line_buffer &buffer, char c)
return B_NO_MEMORY;
buffer.buffer[(buffer.first + buffer.in++) % buffer.size] = c;
return B_OK;
}