aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorE. Westbrook <github@westbrook.io>2019-02-25 15:56:28 -0700
committerE. Westbrook <github@westbrook.io>2019-02-25 15:56:28 -0700
commit16b0026e27d4c77fc5e723d52b811ebc23dddc0c (patch)
treee938d1359171c161573fed3dc89db19b00714455
parent1f6035070fd5e2185dfb3a3bf48e1d12668c6599 (diff)
downloadluasocket-16b0026e27d4c77fc5e723d52b811ebc23dddc0c.tar.gz
luasocket-16b0026e27d4c77fc5e723d52b811ebc23dddc0c.tar.bz2
luasocket-16b0026e27d4c77fc5e723d52b811ebc23dddc0c.zip
unix.c: use LUASOCKET_API
-rw-r--r--src/unix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unix.c b/src/unix.c
index dbc8710..c618a20 100644
--- a/src/unix.c
+++ b/src/unix.c
@@ -2,6 +2,8 @@
2* Unix domain socket 2* Unix domain socket
3* LuaSocket toolkit 3* LuaSocket toolkit
4\*=========================================================================*/ 4\*=========================================================================*/
5#include "luasocket.h"
6
5#include "lua.h" 7#include "lua.h"
6#include "lauxlib.h" 8#include "lauxlib.h"
7 9
@@ -45,7 +47,7 @@ static int compat_socket_unix_call(lua_State *L)
45/*-------------------------------------------------------------------------*\ 47/*-------------------------------------------------------------------------*\
46* Initializes module 48* Initializes module
47\*-------------------------------------------------------------------------*/ 49\*-------------------------------------------------------------------------*/
48int luaopen_socket_unix(lua_State *L) 50LUASOCKET_API int luaopen_socket_unix(lua_State *L)
49{ 51{
50 int i; 52 int i;
51 lua_newtable(L); 53 lua_newtable(L);