summaryrefslogtreecommitdiffstats
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, 4 insertions, 12 deletions
diff --git a/contrib/texinfo/info/doc.h b/contrib/texinfo/info/doc.h
index 8afc28f..423998e 100644
--- a/contrib/texinfo/info/doc.h
+++ b/contrib/texinfo/info/doc.h
@@ -21,18 +21,10 @@
Written by Brian Fox (bfox@ai.mit.edu). */
-#if !defined (_DOC_H_)
-#define _DOC_H_
+#if !defined (DOC_H)
+#define DOC_H
-#if !defined (NULL)
-# define NULL 0x0
-#endif /* !NULL */
-
-#if !defined (__FUNCTION_DEF)
-# define __FUNCTION_DEF
-typedef int Function ();
-typedef void VFunction ();
-#endif /* _FUNCTION_DEF */
+#include "info.h" /* for NAMED_FUNCTIONS, VFunction, etc. */
typedef struct {
VFunction *func;
@@ -55,4 +47,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 */
OpenPOWER on IntegriCloud