summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/sock.h')
-rw-r--r--fw/fe310/eos/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/sock.h b/fw/fe310/eos/sock.h
index d647381..cec8aae 100644
--- a/fw/fe310/eos/sock.h
+++ b/fw/fe310/eos/sock.h
@@ -19,7 +19,7 @@ typedef struct EOSNetAddr {
void eos_sock_init(void);
void eos_sock_set_handler(unsigned char sock, eos_evt_handler_t handler);
-int eos_sock_open_udp(void);
+int eos_sock_open_udp(eos_evt_handler_t handler);
void eos_sock_close(unsigned char sock);
int eos_sock_sendto(unsigned char sock, unsigned char *buffer, uint16_t size, unsigned char more, EOSNetAddr *addr);
void eos_sock_getfrom(unsigned char *buffer, EOSNetAddr *addr);