summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox/PDa/src/x_net.c
diff options
context:
space:
mode:
authorWincent Balin <wincent@rockbox.org>2009-08-04 02:04:24 +0000
committerWincent Balin <wincent@rockbox.org>2009-08-04 02:04:24 +0000
commit11ac0b3f2a7d2abc0ae6127752559b1ffafbebff (patch)
tree6b57fc0120b5ac8c486691be8c300709bd29f894 /apps/plugins/pdbox/PDa/src/x_net.c
parentbec80ca7ddeff355d0ca46efa331d98c77567fd4 (diff)
downloadrockbox-11ac0b3f2a7d2abc0ae6127752559b1ffafbebff.tar.gz
rockbox-11ac0b3f2a7d2abc0ae6127752559b1ffafbebff.tar.bz2
rockbox-11ac0b3f2a7d2abc0ae6127752559b1ffafbebff.zip
PDBox: Minor addition and bugfixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22148 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/x_net.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/x_net.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/PDa/src/x_net.c b/apps/plugins/pdbox/PDa/src/x_net.c
index aa19f78ec0..dc9eff989d 100644
--- a/apps/plugins/pdbox/PDa/src/x_net.c
+++ b/apps/plugins/pdbox/PDa/src/x_net.c
@@ -317,6 +317,7 @@ static void *netreceive_new(t_symbol *compatflag,
x = (t_netreceive *) pd_new(netreceive_class);
x->x_msgout = outlet_new(&x->x_obj, &s_anything);
+ x->x_connectout = 0;
x->x_nconnections = 0;
x->x_udp = udp;
@@ -428,8 +429,8 @@ static void netreceive_free(t_netreceive *x)
#ifdef ROCKBOX
/* Basically a reimplementation of socketreceiver_getudp()
from s_inter.c */
-t_binbuf* inbinbuf;
-void outlet_setstacklim(void);
+extern t_binbuf* inbinbuf;
+extern void outlet_setstacklim(void);
void rockbox_receive_callback(struct datagram* dg)
{