summaryrefslogtreecommitdiffstats
path: root/gisi/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'gisi/socket.h')
-rw-r--r--gisi/socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gisi/socket.h b/gisi/socket.h
index b95a4d78..c969a18f 100644
--- a/gisi/socket.h
+++ b/gisi/socket.h
@@ -21,7 +21,9 @@
*
*/
-GIOChannel *phonet_new(uint8_t resource);
+#include "modem.h"
+
+GIOChannel *phonet_new(GIsiModem *, uint8_t resource);
size_t phonet_peek_length(GIOChannel *io);
ssize_t phonet_read(GIOChannel *io, void *restrict buf, size_t len,
uint16_t *restrict obj, uint8_t *restrict res);