summaryrefslogtreecommitdiff
path: root/contrib/texinfo/info/doc.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/texinfo/info/doc.h')
-rw-r--r--contrib/texinfo/info/doc.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/contrib/texinfo/info/doc.h b/contrib/texinfo/info/doc.h
index 423998e37c881..8afc28f744644 100644
--- a/contrib/texinfo/info/doc.h
+++ b/contrib/texinfo/info/doc.h
@@ -21,10 +21,18 @@
Written by Brian Fox (bfox@ai.mit.edu). */
-#if !defined (DOC_H)
-#define DOC_H
+#if !defined (_DOC_H_)
+#define _DOC_H_
-#include "info.h" /* for NAMED_FUNCTIONS, VFunction, etc. */
+#if !defined (NULL)
+# define NULL 0x0
+#endif /* !NULL */
+
+#if !defined (__FUNCTION_DEF)
+# define __FUNCTION_DEF
+typedef int Function ();
+typedef void VFunction ();
+#endif /* _FUNCTION_DEF */
typedef struct {
VFunction *func;
@@ -47,4 +55,4 @@ extern void dump_map_to_message_buffer ();
extern char *function_name ();
extern VFunction *named_function ();
#endif /* NAMED_FUNCTIONS */
-#endif /* !DOC_H */
+#endif /* !_DOC_H_ */