summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
committerbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
commit289f11acb49b6dbb3081e09bf94a86f008f55814 (patch)
treee4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/gnu
parent4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff)
downloadFreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip
FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/i386/fpemul/errors.c3
-rw-r--r--sys/gnu/i386/fpemul/fpu_proto.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/gnu/i386/fpemul/errors.c b/sys/gnu/i386/fpemul/errors.c
index f9f6eb1..a303b34 100644
--- a/sys/gnu/i386/fpemul/errors.c
+++ b/sys/gnu/i386/fpemul/errors.c
@@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: errors.c,v 1.2 1994/04/29 21:07:12 gclarkii Exp $
+ * $Id: errors.c,v 1.3 1994/06/10 07:44:10 rich Exp $
*
*/
@@ -72,6 +72,7 @@
#include "param.h"
+#include "systm.h"
#include "proc.h"
#include "machine/cpu.h"
#include "machine/pcb.h"
diff --git a/sys/gnu/i386/fpemul/fpu_proto.h b/sys/gnu/i386/fpemul/fpu_proto.h
index 255aa5d..c15c913 100644
--- a/sys/gnu/i386/fpemul/fpu_proto.h
+++ b/sys/gnu/i386/fpemul/fpu_proto.h
@@ -1,6 +1,6 @@
/*
*
- * $Id:$
+ * $Id: fpu_proto.h,v 1.2 1994/04/29 21:16:23 gclarkii Exp $
*
*/
@@ -53,7 +53,9 @@ extern void ffreep(void);
extern void fst_i_(void);
extern void fstp_i(void);
/* fpu_entry.c */
+#if 0
extern int math_emulate(struct trapframe * info);
+#endif
/* fpu_etc.c */
extern void fp_etc(void);
/* fpu_trig.c */
OpenPOWER on IntegriCloud