aboutsummaryrefslogtreecommitdiffstats
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
commit0d28378a7ac1410c4d32b7e0415fdc646ce2a755 (patch)
treea45fc9817c3638fbbf1b6bb954cd0be62e63fd89
parent272e5d06b43150aea160bda9159c771980b4cb35 (diff)
downloadprosody-0d28378a7ac1410c4d32b7e0415fdc646ce2a755.tar.gz
prosody-0d28378a7ac1410c4d32b7e0415fdc646ce2a755.zip
util-src/*.c: Squeeze repeated blank lines
-rw-r--r--util-src/encodings.c1
-rw-r--r--util-src/hashes.c1
-rw-r--r--util-src/pposix.c2
-rw-r--r--util-src/ringbuffer.c3
-rw-r--r--util-src/table.c1
5 files changed, 0 insertions, 8 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c
index 6389b2be..4d6ac437 100644
--- a/util-src/encodings.c
+++ b/util-src/encodings.c
@@ -251,7 +251,6 @@ static const luaL_Reg Reg_utf8[] = {
{ NULL, NULL }
};
-
/***************** STRINGPREP *****************/
#ifdef USE_STRINGPREP_ICU
diff --git a/util-src/hashes.c b/util-src/hashes.c
index d6f848c7..697c632f 100644
--- a/util-src/hashes.c
+++ b/util-src/hashes.c
@@ -7,7 +7,6 @@
--
*/
-
/*
* hashes.c
* Lua library for sha1, sha256 and md5 hashes
diff --git a/util-src/pposix.c b/util-src/pposix.c
index 39d8742b..b6874318 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -595,8 +595,6 @@ int lc_getrlimit(lua_State* L) {
return 2;
}
-
-
resource = luaL_checkstring(L, 1);
rid = string2resource(resource);
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");
diff --git a/util-src/table.c b/util-src/table.c
index 93acae65..c9c09170 100644
--- a/util-src/table.c
+++ b/util-src/table.c
@@ -19,7 +19,6 @@ static int Lpack(lua_State* L) {
return 1;
}
-
int luaopen_util_table(lua_State* L) {
#if (LUA_VERSION_NUM > 501)
luaL_checkversion(L);