unixstream: pragma visibility

This commit is contained in:
E. Westbrook 2019-02-27 21:02:13 -07:00
parent d27b1a7945
commit 4e363330a3
2 changed files with 5 additions and 5 deletions

View File

@ -4,10 +4,6 @@
\*=========================================================================*/
#include "luasocket.h"
#include "lua.h"
#include "lauxlib.h"
#include "compat.h"
#include "auxiliar.h"
#include "socket.h"
#include "options.h"
@ -82,7 +78,7 @@ static luaL_Reg func[] = {
/*-------------------------------------------------------------------------*\
* Initializes module
\*-------------------------------------------------------------------------*/
LUASOCKET_PRIVATE int unixstream_open(lua_State *L)
int unixstream_open(lua_State *L)
{
/* create classes */
auxiliar_newclass(L, "unixstream{master}", unixstream_methods);

View File

@ -16,6 +16,10 @@
\*=========================================================================*/
#include "unix.h"
#pragma GCC visibility push(hidden)
int unixstream_open(lua_State *L);
#pragma GCC visibility pop
#endif /* UNIXSTREAM_H */