arch/sim: Fix usrsock build break on macOS
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
928b90b48d
commit
da25883c64
@ -399,6 +399,7 @@ static const usrsock_handler_t g_usrsock_handler[] =
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
__attribute__ ((visibility("default")))
|
||||||
int usrsock_event_callback(int16_t usockid, uint16_t events)
|
int usrsock_event_callback(int16_t usockid, uint16_t events)
|
||||||
{
|
{
|
||||||
return usrsock_send_event(&g_usrsock, usockid, events);
|
return usrsock_send_event(&g_usrsock, usockid, events);
|
||||||
|
Loading…
Reference in New Issue
Block a user