aboutsummaryrefslogtreecommitdiff
path: root/src/unixstream.c
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2019-03-11 00:08:41 -0300
committerGitHub <noreply@github.com>2019-03-11 00:08:41 -0300
commitc89a931cc31f219d51dd32a8a253d5ee3fbd31be (patch)
tree1fc604d7cbd6a42c801b92b145651d91c458dfa2 /src/unixstream.c
parent2af4872a401cbd0c1255e19ee26620f0431dd9f5 (diff)
parent21514304be9e98a4386cb18542582068a59c5586 (diff)
downloadluasocket-c89a931cc31f219d51dd32a8a253d5ee3fbd31be.tar.gz
luasocket-c89a931cc31f219d51dd32a8a253d5ee3fbd31be.tar.bz2
luasocket-c89a931cc31f219d51dd32a8a253d5ee3fbd31be.zip
Merge pull request #271 from ewestbrook/pragmavisibility
Use visibility pragma around declarations instead of attributes on definitions
Diffstat (limited to 'src/unixstream.c')
-rw-r--r--src/unixstream.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/unixstream.c b/src/unixstream.c
index ce2d3af..02aced9 100644
--- a/src/unixstream.c
+++ b/src/unixstream.c
@@ -4,10 +4,6 @@
4\*=========================================================================*/ 4\*=========================================================================*/
5#include "luasocket.h" 5#include "luasocket.h"
6 6
7#include "lua.h"
8#include "lauxlib.h"
9#include "compat.h"
10
11#include "auxiliar.h" 7#include "auxiliar.h"
12#include "socket.h" 8#include "socket.h"
13#include "options.h" 9#include "options.h"
@@ -82,7 +78,7 @@ static luaL_Reg func[] = {
82/*-------------------------------------------------------------------------*\ 78/*-------------------------------------------------------------------------*\
83* Initializes module 79* Initializes module
84\*-------------------------------------------------------------------------*/ 80\*-------------------------------------------------------------------------*/
85LUASOCKET_PRIVATE int unixstream_open(lua_State *L) 81int unixstream_open(lua_State *L)
86{ 82{
87 /* create classes */ 83 /* create classes */
88 auxiliar_newclass(L, "unixstream{master}", unixstream_methods); 84 auxiliar_newclass(L, "unixstream{master}", unixstream_methods);