diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-20 17:00:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-20 17:00:38 +0000 |
commit | 4ca43d72e1e6af22688f868463e4ccf429e3f5c9 (patch) | |
tree | f7e2b7d3c7d0a61729e6952b907273df9897f630 /cpukit/pppd/utils.c | |
parent | Cosmetics. (diff) | |
download | rtems-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.c | 5 |
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) { |