add lkmenodev prototype.
int ttselect __P((dev_t, int, struct proc *));
-#ifndef LKM
-#define lkmenodev enodev
-#else
-int lkmenodev();
-#endif
-
bdev_decl(sw);
#include "st.h"
bdev_decl(st);
int ttselect __P((dev_t, int, struct proc *));
-#ifndef LKM
-#define lkmenodev enodev
-#else
-int lkmenodev();
-#endif
-
#include "wdc.h"
bdev_decl(wd);
bdev_decl(sw);
-/* $OpenBSD: conf.c,v 1.4 1996/02/21 12:53:42 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.5 1996/05/04 18:50:37 mickey Exp $ */
/*
* Copyright (c) 1991 The Regents of the University of California.
int ttselect __P((dev_t, int, struct proc *));
-#ifndef LKM
-#define lkmenodev enodev
-#else
-int lkmenodev();
-#endif
-
#define bdev_rd_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,strategy), \
dev_init(c,n,ioctl), (dev_type_dump((*))) enxio, dev_size_init(c,n), 0 }
int ttselect __P((dev_t, int, struct proc *));
-#ifndef LKM
-#define lkmenodev enodev
-#else
-int lkmenodev();
-#endif
-
#include "ct.h"
bdev_decl(ct);
#include "mt.h"
-/* $OpenBSD: conf.c,v 1.13 1996/04/29 14:12:41 hvozda Exp $ */
+/* $OpenBSD: conf.c,v 1.14 1996/05/04 18:50:44 mickey Exp $ */
/* $NetBSD: conf.c,v 1.74 1996/03/30 07:30:33 mycroft Exp $ */
/*
int ttselect __P((dev_t, int, struct proc *));
-#ifndef LKM
-#define lkmenodev enodev
-#else
-int lkmenodev();
-#endif
-
#include "wdc.h"
bdev_decl(wd);
bdev_decl(sw);
cdev_decl(pcmcia);
#include "spkr.h"
cdev_decl(spkr);
-#ifdef LKM
-#define NLKM 1
-#else
-#define NLKM 0
-#endif
cdev_decl(lkm);
#include "mms.h"
cdev_decl(mms);
-/* $OpenBSD: conf.c,v 1.4 1996/02/21 12:53:47 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.5 1996/05/04 18:50:46 mickey Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
bdev_decl(rd);
/* No cdev for rd */
-#ifdef LKM
-int lkmenodev();
-#else
-#define lkmenodev enodev
-#endif
-
struct bdevsw bdevsw[] =
{
bdev_notdef(), /* 0 */
-/* $OpenBSD: conf.c,v 1.5 1996/04/28 10:58:09 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.6 1996/05/04 18:50:49 mickey Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
#include "ccd.h"
bdev_decl(ccd);
-#ifdef LKM
-int lkmenodev();
-#else
-#define lkmenodev enodev
-#endif
-
struct bdevsw bdevsw[] =
{
bdev_notdef(), /* 0 */
#include "vnd.h"
bdev_decl(vnd);
-#ifdef LKM
-int lkmenodev();
-#else
-#define lkmenodev enodev
-#endif
-
struct bdevsw bdevsw[] =
{
bdev_notdef(), /* 0 */
-/* $OpenBSD: conf.c,v 1.4 1996/02/21 12:53:53 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.5 1996/05/04 18:50:55 mickey Exp $ */
/*
* Copyright (c) 1992, 1993
int ttselect __P((dev_t, int, struct proc *));
-#ifdef LKM
-int lkmenodev();
-#else
-#define lkmenodev enodev
-#endif
-
bdev_decl(sw);
#include "sd.h"
bdev_decl(sd);
int ttselect __P((dev_t, int, struct proc *));
-#ifndef LKM
-#define lkmenodev enodev
-#endif
-
#include "hp.h" /* 0 */
bdev_decl(hp);
#define ptcioctl ptyioctl
cdev_decl(ptc);
cdev_decl(log);
-#ifdef LKM
-#define NLKM 1
-#else
-#define NLKM 0
-#endif
cdev_decl(lkm);
cdev_decl(hp);
-/* $OpenBSD: conf.h,v 1.7 1996/04/21 22:31:34 deraadt Exp $ */
+/* $OpenBSD: conf.h,v 1.8 1996/05/04 18:51:02 mickey Exp $ */
/* $NetBSD: conf.h,v 1.32 1996/03/30 21:52:04 christos Exp $ */
/*-
# define lkmenodev enodev
#else
# define NLKM 1
+int lkmenodev();
#endif
cdev_decl(lkm);