summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/utils.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-20 17:00:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-20 17:00:38 +0000
commit4ca43d72e1e6af22688f868463e4ccf429e3f5c9 (patch)
treef7e2b7d3c7d0a61729e6952b907273df9897f630 /cpukit/pppd/utils.c
parentCosmetics. (diff)
downloadrtems-4ca43d72e1e6af22688f868463e4ccf429e3f5c9.tar.bz2
2005-01-20 Joel Sherrill <joel@OARcorp.com>
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.
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/utils.c5
1 files changed, 3 insertions, 2 deletions
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) {