diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /japanese/plain2/files/patch-src__macro.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'japanese/plain2/files/patch-src__macro.c')
-rw-r--r-- | japanese/plain2/files/patch-src__macro.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/japanese/plain2/files/patch-src__macro.c b/japanese/plain2/files/patch-src__macro.c new file mode 100644 index 000000000000..aa8e9b3e65c2 --- /dev/null +++ b/japanese/plain2/files/patch-src__macro.c @@ -0,0 +1,31 @@ +--- src/macro.c.orig Sat Oct 18 23:46:14 2003 ++++ src/macro.c Sat Oct 18 23:47:36 2003 +@@ -8,7 +8,7 @@ + + #include <stdio.h> + #include <ctype.h> +-#include <varargs.h> ++#include <stdarg.h> + #include "plain2.h" + #include "macro.h" + +@@ -189,9 +189,7 @@ + buf++; + } + } +-putMacro(macroNum, va_alist) +-int macroNum; +-va_dcl ++putMacro(int macroNum, char *fmt, ...) + { + va_list ap; + union macroArg { +@@ -226,7 +224,7 @@ + } + mip = mip->cmac_next; + } +- va_start(ap); ++ va_start(ap, fmt); + for (i = 1; i <= maxarg; i++) { + switch(argtype[i]) { + case ATYPE_VOID: |