Software /
code /
prosody
Diff
util-src/ringbuffer.c @ 7835:a809dcfd0c5b
util-src/*.c: Squeeze repeated blank lines
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Jan 2017 18:33:35 +0100 |
parent | 7828:b4a08a514ebc |
child | 7888:74187ee6ed55 |
line wrap: on
line diff
--- a/util-src/ringbuffer.c Mon Jan 23 10:46:42 2017 +0100 +++ b/util-src/ringbuffer.c Mon Jan 23 18:33:35 2017 +0100 @@ -1,4 +1,3 @@ - #include <stdlib.h> #include <unistd.h> @@ -73,7 +72,6 @@ return 0; } - int rb_read(lua_State* L) { ringbuffer* b = luaL_checkudata(L, 1, "ringbuffer_mt"); int r = luaL_checkinteger(L, 2); @@ -101,7 +99,6 @@ return 1; } - int rb_readuntil(lua_State* L) { size_t l, m; ringbuffer* b = luaL_checkudata(L, 1, "ringbuffer_mt");