aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
commit4fda91c705838783b4fffd707628d4de7f673c35 (patch)
tree6f35ae0e7caade790223565873d04a0f034c5822 /sys/sys
parentdd1642c2c4b5722b53e8fd5e92f39e6ddff9376e (diff)
downloadsrc-4fda91c705838783b4fffd707628d4de7f673c35.tar.gz
src-4fda91c705838783b4fffd707628d4de7f673c35.zip
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
Notes
Notes: svn path=/head/; revision=12071
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/conf.h4
-rw-r--r--sys/sys/linedisc.h4
-rw-r--r--sys/sys/snoop.h6
3 files changed, 6 insertions, 8 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 4254f263cb03..c64a88baad75 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)conf.h 8.3 (Berkeley) 1/21/94
- * $Id: conf.h,v 1.17 1995/09/10 21:36:12 bde Exp $
+ * $Id: conf.h,v 1.18 1995/10/04 03:43:18 julian Exp $
*/
#ifndef _SYS_CONF_H_
@@ -166,4 +166,6 @@ int bdevsw_add __P((dev_t *descrip,struct bdevsw *new,struct bdevsw *old));
#endif
#endif
+#include <machine/conf.h>
+
#endif /* !_SYS_CONF_H_ */
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index 4254f263cb03..c64a88baad75 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)conf.h 8.3 (Berkeley) 1/21/94
- * $Id: conf.h,v 1.17 1995/09/10 21:36:12 bde Exp $
+ * $Id: conf.h,v 1.18 1995/10/04 03:43:18 julian Exp $
*/
#ifndef _SYS_CONF_H_
@@ -166,4 +166,6 @@ int bdevsw_add __P((dev_t *descrip,struct bdevsw *new,struct bdevsw *old));
#endif
#endif
+#include <machine/conf.h>
+
#endif /* !_SYS_CONF_H_ */
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h
index 339dd96a8fa4..694d9fa6ae3d 100644
--- a/sys/sys/snoop.h
+++ b/sys/sys/snoop.h
@@ -70,16 +70,10 @@ struct snoop {
#ifdef KERNEL
/* XXX several wrong storage classes and types here. */
-int snpclose __P((dev_t dev, int flags, int fmt, struct proc *p));
int snp_detach __P((struct snoop *snp));
int snpdown __P((struct snoop *snp));
int snpin __P((struct snoop *snp, char *buf, int n));
int snpinc __P((struct snoop *snp, char c));
-int snpioctl __P((dev_t dev, int cmd, caddr_t data, int flags, struct proc *p));
-int snpopen __P((dev_t dev, int flag, int mode, struct proc *p));
-int snpread __P((dev_t dev, struct uio *uio, int flag));
-int snpselect __P((dev_t dev, int rw, struct proc *p));
-int snpwrite __P((dev_t dev, struct uio *uio, int flag));
#endif /* KERNEL */
#endif /* _SNOOP_H_ */