Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pcmcia - Don't rely on implicit declaration.



details:   https://anonhg.NetBSD.org/src/rev/f33696228b47
branches:  trunk
changeset: 481871:f33696228b47
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Feb 08 12:51:30 2000 +0000

description:
- Don't rely on implicit declaration.
- Sinc wi/ existing coding style.

diffstat:

 sys/dev/pcmcia/pcmcia.c    |  3 ++-
 sys/dev/pcmcia/pcmciavar.h |  6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 4febd37c3224 -r f33696228b47 sys/dev/pcmcia/pcmcia.c
--- a/sys/dev/pcmcia/pcmcia.c   Tue Feb 08 12:49:12 2000 +0000
+++ b/sys/dev/pcmcia/pcmcia.c   Tue Feb 08 12:51:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmcia.c,v 1.18 2000/02/07 09:35:29 augustss Exp $     */
+/*     $NetBSD: pcmcia.c,v 1.19 2000/02/08 12:51:30 enami Exp $        */
 
 #define        PCMCIADEBUG
 
@@ -316,6 +316,7 @@
 void
 pcmcia_devinfo(card, showhex, cp, cplen)
        struct pcmcia_card *card;
+       int showhex;
        char *cp;
        int cplen;
 {
diff -r 4febd37c3224 -r f33696228b47 sys/dev/pcmcia/pcmciavar.h
--- a/sys/dev/pcmcia/pcmciavar.h        Tue Feb 08 12:49:12 2000 +0000
+++ b/sys/dev/pcmcia/pcmciavar.h        Tue Feb 08 12:51:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmciavar.h,v 1.11 2000/02/07 09:35:29 augustss Exp $  */
+/*     $NetBSD: pcmciavar.h,v 1.12 2000/02/08 12:51:31 enami Exp $     */
 
 /*
  * Copyright (c) 1997 Marc Horowitz.  All rights reserved.
@@ -217,8 +217,8 @@
            const struct pcmcia_product *tab, size_t ent_size,
            pcmcia_product_match_fn matchfn));
 
-void pcmcia_devinfo __P((struct pcmcia_card *card, int showhex, char *cp, 
-                        int cplen));
+void   pcmcia_devinfo __P((struct pcmcia_card *card, int showhex, char *cp, 
+           int cplen));
 
 void   pcmcia_read_cis __P((struct pcmcia_softc *));
 void   pcmcia_check_cis_quirks __P((struct pcmcia_softc *));



Home | Main Index | Thread Index | Old Index