blob: 21fc56ac26e8e4d60f83e2ae026954c56434d69f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
$NetBSD: patch-ai,v 1.2 2011/10/03 07:21:15 dholland Exp $
- remove varargs decls
- ...?
--- h/rtf.h.dist.orig 1994-04-05 19:53:31.000000000 +0000
+++ h/rtf.h.dist
@@ -109,6 +109,7 @@ extern int rtfLinePos; /* input line po
# define rtfMacCharSet 1
# define rtfPcCharSet 2
# define rtfPcaCharSet 3
+# define rtfAnsiCpCharSet 4
/* destination minor numbers should be zero-based and sequential */
@@ -1058,25 +1059,8 @@ int RTFHexToChar ();
void RTFSetMsgProc ();
void RTFSetPanicProc ();
-/*
- * The following messing around is used to allow RTFMsg() and RTFPanic()
- * to be variable-argument functions that are declared publicly but
- * without generating prototype-mismatch errors on systems that have
- * stdarg.h.
- */
-
-# ifndef rtfInternal
-void RTFMsg ();
-void RTFPanic ();
-# else
-# ifdef STDARG
-void RTFMsg (char *fmt, ...);
-void RTFPanic (char *fmt, ...);
-# else
-void RTFMsg ();
-void RTFPanic ();
-# endif /* STDARG */
-# endif /* rtfInternal */
+void RTFMsg (const char *fmt, ...);
+void RTFPanic (const char *fmt, ...);
int RTFReadCharSetMap ();
void RTFSetCharSetMap ();
|