2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* pppd/utils.c: Adapt to gcc-3.x.
This commit is contained in:
Joel Sherrill
2002-04-18 22:24:04 +00:00
parent 7c4ef9cd7a
commit a81a8f8dc1
5 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Adapt to gcc-3.x.
2002-04-11 Chris Johns <ccj@acm.org>
* c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added

View File

@@ -1,3 +1,7 @@
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Adapt to gcc-3.x.
2002-04-11 Chris Johns <ccj@acm.org>
* c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added

View File

@@ -248,10 +248,10 @@ vslprintf(buf, buflen, fmt, args)
break;
case 'r':
f = va_arg(args, char *);
#ifndef __powerpc__
#ifndef __PPC__
n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */
/* HACK: On the powerpc, a va_list is an array of 1 structure */
n = vslprintf(buf, buflen + 1, f, va_arg(args, void *));
#endif
buf += n;

View File

@@ -1,3 +1,7 @@
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Adapt to gcc-3.x.
2002-04-11 Chris Johns <ccj@acm.org>
* c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added

View File

@@ -248,10 +248,10 @@ vslprintf(buf, buflen, fmt, args)
break;
case 'r':
f = va_arg(args, char *);
#ifndef __powerpc__
#ifndef __PPC__
n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */
/* HACK: On the powerpc, a va_list is an array of 1 structure */
n = vslprintf(buf, buflen + 1, f, va_arg(args, void *));
#endif
buf += n;