From 4ca43d72e1e6af22688f868463e4ccf429e3f5c9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Jan 2005 17:00:38 +0000 Subject: 2005-01-20 Joel Sherrill PR 736/pppd * libnetworking/pppd/chat.c, libnetworking/pppd/demand.c, libnetworking/pppd/pppd.h, libnetworking/pppd/rtemsmain.c, libnetworking/pppd/sys-rtems.c, libnetworking/pppd/utils.c: ttyfd should not be static and should have a name more specific to pppd. --- cpukit/pppd/utils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/pppd/utils.c') diff --git a/cpukit/pppd/utils.c b/cpukit/pppd/utils.c index fd799e6a35..15cdf6b763 100644 --- a/cpukit/pppd/utils.c +++ b/cpukit/pppd/utils.c @@ -468,13 +468,14 @@ pr_log __V((void *arg, char *fmt, ...)) * printer. */ void -print_string(p, len, printer, arg) - char *p; +print_string(p_arg, len, printer, arg) + void *p_arg; int len; void (*printer) __P((void *, char *, ...)); void *arg; { int c; + unsigned char *p = (unsigned char *)p_arg; printer(arg, "\""); for (; len > 0; --len) { -- cgit v1.2.3