From a69d1dfbcb7bc187703b1767f289aba2bd4edbb6 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 8 Dec 1995 23:23:00 +0000 Subject: Julian forgot to make the *devsw structures static. --- sys/dev/cy/cy.c | 4 ++-- sys/dev/cy/cy_isa.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/cy') diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index acd4db6..bc078cc 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.23 1995/12/06 23:42:34 bde Exp $ + * $Id: cy.c,v 1.24 1995/12/08 11:14:04 julian Exp $ */ #include "cy.h" @@ -371,7 +371,7 @@ static d_stop_t cystop; static d_ttycv_t cydevtotty; #define CDEV_MAJOR 48 -struct cdevsw cy_cdevsw = +static struct cdevsw cy_cdevsw = { cyopen, cyclose, cyread, cywrite, /*48*/ cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/ ttselect, nxmmap, NULL, "cy", NULL, -1 }; diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index acd4db6..bc078cc 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.23 1995/12/06 23:42:34 bde Exp $ + * $Id: cy.c,v 1.24 1995/12/08 11:14:04 julian Exp $ */ #include "cy.h" @@ -371,7 +371,7 @@ static d_stop_t cystop; static d_ttycv_t cydevtotty; #define CDEV_MAJOR 48 -struct cdevsw cy_cdevsw = +static struct cdevsw cy_cdevsw = { cyopen, cyclose, cyread, cywrite, /*48*/ cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/ ttselect, nxmmap, NULL, "cy", NULL, -1 }; -- cgit v1.1