From 671b1a284fad2cd51329198e8adc5725cd5e1ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 8 Aug 2005 13:34:26 +0000 Subject: [PATCH] make writenet take const void * and size_t git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15841 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/telnetd/ext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/telnet/telnetd/ext.h b/appl/telnet/telnetd/ext.h index 626849a3e..8633e239d 100644 --- a/appl/telnet/telnetd/ext.h +++ b/appl/telnet/telnetd/ext.h @@ -115,7 +115,7 @@ int tty_iscrnl (void); void tty_tspeed (int val); void tty_rspeed (int val); void getptyslave (void); -int cleanopen (char *line); +int cleanopen (char *); void startslave (const char *host, const char *, int autologin, char *autoname); void init_env (void); void start_login (const char *host, int autologin, char *name); @@ -138,7 +138,7 @@ void ptyflush (void); char *nextitem (char *current); void netclear (void); void netflush (void); -void writenet (unsigned char *ptr, int len); +void writenet (const void *, size_t); void fatal (int f, char *msg); void fatalperror (int f, const char *msg); void fatalperror_errno (int f, const char *msg, int error);