summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-28 07:58:53 +0000
committerbde <bde@FreeBSD.org>1995-03-28 07:58:53 +0000
commit4f64fe43e7186660d972f9eae509424f1addaa8a (patch)
treee153346dd5a88815c9c3e7f6748d7766c40a6b0d /sys/dev/cy
parent6ad7636d4a24ed5873a051888c579f5ef47677c4 (diff)
downloadFreeBSD-src-4f64fe43e7186660d972f9eae509424f1addaa8a.zip
FreeBSD-src-4f64fe43e7186660d972f9eae509424f1addaa8a.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c4
-rw-r--r--sys/dev/cy/cy_isa.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index f9defd0..03e561c 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.3 1995/02/25 20:09:12 pst Exp $
+ * $Id: cy.c,v 1.4 1995/02/28 00:20:52 pst Exp $
*/
/*
@@ -88,6 +88,8 @@
#include <i386/isa/isa_device.h>
#include <i386/isa/ic/cd1400.h>
+#else
+#include <machine/clock.h>
#define RxFifoThreshold 3 /* 3 characters (out of 12) in the receive
* FIFO before an interrupt is generated
*/
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index f9defd0..03e561c 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.3 1995/02/25 20:09:12 pst Exp $
+ * $Id: cy.c,v 1.4 1995/02/28 00:20:52 pst Exp $
*/
/*
@@ -88,6 +88,8 @@
#include <i386/isa/isa_device.h>
#include <i386/isa/ic/cd1400.h>
+#else
+#include <machine/clock.h>
#define RxFifoThreshold 3 /* 3 characters (out of 12) in the receive
* FIFO before an interrupt is generated
*/
OpenPOWER on IntegriCloud