summaryrefslogtreecommitdiff
path: root/cad/mars/files/patch-05
diff options
context:
space:
mode:
Diffstat (limited to 'cad/mars/files/patch-05')
-rw-r--r--cad/mars/files/patch-0540
1 files changed, 0 insertions, 40 deletions
diff --git a/cad/mars/files/patch-05 b/cad/mars/files/patch-05
deleted file mode 100644
index b14db973e9a8..000000000000
--- a/cad/mars/files/patch-05
+++ /dev/null
@@ -1,40 +0,0 @@
---- sim/log.c.orig Wed Oct 7 04:52:51 1992
-+++ sim/log.c Tue Dec 9 19:59:48 2003
-@@ -23,7 +23,7 @@
- #include "packet.h"
- #include "event.h"
- #include "log.h"
--#include <varargs.h>
-+#include <stdarg.h>
-
- #ifdef DEBUG
- extern Log debug_log;
-@@ -59,13 +59,7 @@
- /* Debugging log-- writes name of component along with message */
- /*VARARGS4*/
- /*dbg_write(l, level, c, format, args)*/
--dbg_write(l, level, c, format, va_alist)
-- Log l;
-- int level;
-- Component *c;
-- char *format;
-- va_dcl
--
-+dbg_write(Log l, int level, Component *c, char *format, ... )
- {
- va_list p;
-
-@@ -79,8 +73,12 @@
- }
- /* Add the time */
- fprintf(l, "%d ", ev_now());
-- va_start(p);
-+ va_start(p, format);
-+#ifdef __FreeBSD__
-+ vfprintf(l, format, p);
-+#else
- _doprnt(format, p, l);
-+#endif
- va_end(p);
- fputs("\n\0", l);
- fflush(l);