From c6f136c7f51917b4803e5fa7934682286ab06255 Mon Sep 17 00:00:00 2001 From: Stephan Gatzka Date: Sun, 21 Dec 2014 07:44:11 +0100 Subject: [PATCH] Make local function udp_strerror() static. --- src/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udp.c b/src/udp.c index a9f2393..12e320a 100644 --- a/src/udp.c +++ b/src/udp.c @@ -131,7 +131,7 @@ int udp_open(lua_State *L) /*=========================================================================*\ * Lua methods \*=========================================================================*/ -const char *udp_strerror(int err) { +static const char *udp_strerror(int err) { /* a 'closed' error on an unconnected means the target address was not * accepted by the transport layer */ if (err == IO_CLOSED) return "refused";