misc: Fix warning when compiling telnet_interface.c

In file included from telnet_interface.c:30:0:
osmocom/core/socket.h:25:4: warning: 'struct osmo_fd' declared inside parameter list [enabled by default]
telnet_interface.c: In function 'telnet_init_dynif':
telnet_interface.c:84:4: warning: passing argument 1 of 'osmo_sock_init_ofd' from incompatible pointer type [enabled by default]
osmocom/core/socket.h:24:5: note: expected 'struct osmo_fd *' but argument is of type 'struct osmo_fd *'
This commit is contained in:
Holger Hans Peter Freyther 2012-03-16 09:18:12 +01:00
parent 2dafed51e5
commit 58d3153249
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include <stdint.h>
struct sockaddr;
struct osmo_fd;
/* flags for osmo_sock_init. */
#define OSMO_SOCK_F_CONNECT (1 << 0)