=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/telnet/network.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/telnet/network.c 2014/07/20 05:22:02 1.11 --- src/usr.bin/telnet/network.c 2014/07/20 06:24:19 1.12 *************** *** 1,4 **** ! /* $OpenBSD: network.c,v 1.11 2014/07/20 05:22:02 guenther Exp $ */ /* $NetBSD: network.c,v 1.5 1996/02/28 21:04:06 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: network.c,v 1.12 2014/07/20 06:24:19 guenther Exp $ */ /* $NetBSD: network.c,v 1.5 1996/02/28 21:04:06 thorpej Exp $ */ /* *************** *** 40,55 **** * Initialize internal network data structures. */ ! void ! init_network() { ! if (ring_init(&netoring, netobuf, sizeof netobuf) != 1) { ! exit(1); ! } ! if (ring_init(&netiring, netibuf, sizeof netibuf) != 1) { ! exit(1); ! } ! NetTrace = stdout; } --- 40,51 ---- * Initialize internal network data structures. */ ! void ! init_network(void) { ! ring_init(&netoring, netobuf, sizeof netobuf); ! ring_init(&netiring, netibuf, sizeof netibuf); ! NetTrace = stdout; }