ref: 9f2e3f1c43c67f3ae3cca01bced10b670600c88c
parent: 6d3664ac10f50ea4ac3618404fa3522a226fbc81
author: Hiltjo Posthuma <[email protected]>
date: Fri Jul 17 16:29:28 EDT 2015
make fp of type FILE * and use needed includes
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -73,7 +73,7 @@
struct input {
char *fname;
- void *fp;
+ FILE *fp;
char *line, *begin, *p;
struct input *next;
unsigned short nline;
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -1,6 +1,7 @@
#include <inttypes.h>
#include <setjmp.h>
+#include <stdio.h>
#include <string.h>
#include "../inc/sizes.h"
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
@@ -1,5 +1,6 @@
#include <inttypes.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>