aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/intdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/intdoc.c')
-rw-r--r--gcc/f/intdoc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/f/intdoc.c b/gcc/f/intdoc.c
index 8569ed7..648b75a 100644
--- a/gcc/f/intdoc.c
+++ b/gcc/f/intdoc.c
@@ -20,16 +20,12 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
/* From f/proj.h, which uses #error -- not all C compilers
- support that, and we want _this_ program to be compilable
+ support that, and we want *this* program to be compilable
by pretty much any C compiler. */
-
-#include "assert.j" /* Use gcc's assert.h. */
-#include <stdio.h>
+#include "hconfig.j"
+#include "system.j"
+#include "assert.j"
#include <stddef.h>
-#include <stdlib.h>
-#include <string.h>
-#define FFEINTRIN_DOC 1
-#include "intrin.h"
typedef enum
{
@@ -44,6 +40,10 @@ typedef enum
#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
+/* Pull in the intrinsics info, but only the doc parts. */
+#define FFEINTRIN_DOC 1
+#include "intrin.h"
+
char *family_name (ffeintrinFamily family);
static void dumpif (ffeintrinFamily fam);
static void dumpendif (void);