aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/ringbuffer.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-23 18:33:35 +0100
committerKim Alvefur <zash@zash.se>2017-01-23 18:33:35 +0100
commit8cd92db7e6c1c03811ff039eb88c7e4ee375c5c3 (patch)
treea45fc9817c3638fbbf1b6bb954cd0be62e63fd89 /util-src/ringbuffer.c
parenta5d48058fb1245ee6bf46abfbbf7ff373b166122 (diff)
downloadprosody-8cd92db7e6c1c03811ff039eb88c7e4ee375c5c3.tar.gz
prosody-8cd92db7e6c1c03811ff039eb88c7e4ee375c5c3.zip
util-src/*.c: Squeeze repeated blank lines
Diffstat (limited to 'util-src/ringbuffer.c')
-rw-r--r--util-src/ringbuffer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util-src/ringbuffer.c b/util-src/ringbuffer.c
index f7487a88..73a8616b 100644
--- a/util-src/ringbuffer.c
+++ b/util-src/ringbuffer.c
@@ -1,5 +1,4 @@
-
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
@@ -73,7 +72,6 @@ int rb_find(lua_State* L) {
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 @@ int rb_read(lua_State* L) {
return 1;
}
-
int rb_readuntil(lua_State* L) {
size_t l, m;
ringbuffer* b = luaL_checkudata(L, 1, "ringbuffer_mt");