moonbridge

changeset 332:86d9377cc615 tip

Added missing "extern" for moonbr_io_sigterm_flag (caused linker errors on certain platforms)
author jbe
date Fri Feb 05 14:45:55 2021 +0100 (2 months ago)
parents 247d9d029306
children
files moonbridge_io.h
line diff
     1.1 --- a/moonbridge_io.h	Fri Feb 05 14:27:08 2021 +0100
     1.2 +++ b/moonbridge_io.h	Fri Feb 05 14:45:55 2021 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  
     1.5 -volatile sig_atomic_t moonbr_io_sigterm_flag;
     1.6 +extern volatile sig_atomic_t moonbr_io_sigterm_flag;
     1.7  void moonbr_io_pushhandle(lua_State *L, int fd);
     1.8  void moonbr_io_closehandle(lua_State *L, int idx, int reset);
     1.9  int moonbr_io_catch_sigterm(lua_State *L);

Impressum / About Us