You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-accessibility/SphinxTrain/files/gcc.patch

35 lines
816 B

--- src/programs/count_3phone/wrec.h.orig 2003-09-28 18:51:49.000000000 +0900
+++ src/programs/count_3phone/wrec.h 2003-09-28 18:52:23.000000000 +0900
@@ -44,7 +44,7 @@
#define WREC_H
#include "phrec.h"
-#include <varargs.h>
+#include <stdarg.h>
int quit (int status, char *fmt, ...);
--- src/programs/count_3phone/quit.c.orig 2003-09-28 19:12:56.000000000 +0900
+++ src/programs/count_3phone/quit.c 2003-09-28 19:13:12.000000000 +0900
@@ -74,17 +74,14 @@
#include <stdio.h>
#include <stdlib.h>
-#include <varargs.h>
+#include <stdarg.h>
-int quit (status,fmt,va_alist)
- int status;
- char *fmt;
- va_dcl
+int quit (int status,char *fmt,...)
{
va_list args;
fflush(stdout);
- va_start(args);
+ va_start(args, fmt);
(void) vfprintf(stderr, fmt, args);
va_end(args);
exit(status);