aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/ecu/files/patch-ae31
-rw-r--r--comms/ecu/files/patch-af32
2 files changed, 63 insertions, 0 deletions
diff --git a/comms/ecu/files/patch-ae b/comms/ecu/files/patch-ae
new file mode 100644
index 000000000000..472ba07e48d2
--- /dev/null
+++ b/comms/ecu/files/patch-ae
@@ -0,0 +1,31 @@
+--- pprintf.c.orig Fri Jul 18 00:04:43 2003
++++ pprintf.c Fri Jul 18 00:06:19 2003
+@@ -40,7 +40,7 @@
+ #if !defined(BUILDING_PROTOTYPES)
+
+ #include <stdio.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+ /* This must be a typedef not a #define! */
+ typedef char *pointer;
+@@ -50,9 +50,7 @@
+ pprintf(format,va_alist)
+ --------------------------------------------------------------------------*/
+ void
+-pprintf(format, va_alist)
+-char *format;
+-va_dcl
++pprintf(char *format, ...)
+ {
+ va_list args;
+ char c;
+@@ -62,7 +60,7 @@
+ char accum_string[ACCUM_MAX_ALLOWABLE + 1024]; /* fairly fail-safe */
+ char *dp = accum_string;
+
+- va_start(args);
++ va_start(args, format);
+
+ tempfmt[0] = '%';
+ while (c = *format++)
diff --git a/comms/ecu/files/patch-af b/comms/ecu/files/patch-af
new file mode 100644
index 000000000000..fd91bb604e58
--- /dev/null
+++ b/comms/ecu/files/patch-af
@@ -0,0 +1,32 @@
+--- logevent.c.orig Thu Aug 27 15:50:54 1998
++++ logevent.c Fri Jul 18 00:04:31 2003
+@@ -28,7 +28,7 @@
+ #include <sys/locking.h>
+ #endif
+
+-#include <varargs.h>
++#include <stdarg.h>
+
+ /* This must be a typedef not a #define! */
+ typedef char *pointer;
+@@ -74,10 +74,7 @@
+ vlogevent(pid,format,va_alist)
+ --------------------------------------------------------------------------*/
+ void
+-vlogevent(pid, format, va_alist)
+-int pid;
+-char *format;
+-va_dcl
++vlogevent(int pid, char *format, ...)
+ {
+ va_list args;
+ char c;
+@@ -86,7 +83,7 @@
+ char accum_string[256];
+ char *dp = accum_string;
+
+- va_start(args);
++ va_start(args, format);
+
+ tempfmt[0] = '%';
+ while (c = *format++)