From b2ee53a99f897f51ae6cbb63dff78ac381bd7ec8 Mon Sep 17 00:00:00 2001 From: Rémi Denis-Courmont Date: Wed, 19 Aug 2009 15:55:47 +0300 Subject: gisi: low-level modem scoping for sockets --- gisi/socket.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gisi/socket.h') 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); -- cgit v1.2.3