summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_dev.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-08-31 05:13:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-08-31 05:13:30 +0000
commit30ed0a197fb0271433d779fa72cef1e9f946acdb (patch)
tree4d8a397b4c8d27c7ae2896852d222e32f20b2c52 /sys/xfs/xfs_dev.h
parent1de9611a8756024513a888ef62be9f487f9dc81f (diff)
indent the code and move around some includes, after discussion with Theo
Diffstat (limited to 'sys/xfs/xfs_dev.h')
-rw-r--r--sys/xfs/xfs_dev.h58
1 files changed, 23 insertions, 35 deletions
diff --git a/sys/xfs/xfs_dev.h b/sys/xfs/xfs_dev.h
index 24c90f012c9..4b95a68959c 100644
--- a/sys/xfs/xfs_dev.h
+++ b/sys/xfs/xfs_dev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xfs_dev.h,v 1.1 1998/08/30 16:47:21 art Exp $ */
+/* $OpenBSD: xfs_dev.h,v 1.2 1998/08/31 05:13:23 art Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -39,44 +39,32 @@
/* $KTH: xfs_dev.h,v 1.4 1998/04/05 18:19:50 art Exp $ */
-#ifndef _xfs_dev_h
-#define _xfs_dev_h
+#ifndef _XFS_XFS_DEV_H_
+#define _XFS_XFS_DEV_H_
-int xfs_devopen(dev_t dev, int flags, int devtype, struct proc * p);
+int xfs_devopen __P((dev_t dev, int flags, int devtype, struct proc * p));
-int xfs_install_device(void);
-int xfs_uninstall_device(void);
+int xfs_install_device __P((void));
+int xfs_uninstall_device __P((void));
-int xfs_install_filesys(void);
-int xfs_uninstall_filesys(void);
+int xfs_install_filesys __P((void));
+int xfs_uninstall_filesys __P((void));
-int xfs_stat_filesys(void);
-int xfs_stat_device(void);
-
-int
-xfs_message_send(int fd, struct xfs_message_header * message, u_int size);
-
-int
-xfs_message_rpc(int fd, struct xfs_message_header * message, u_int size);
-
-int
-xfs_message_receive(int fd,
- struct xfs_message_header *message,
- u_int size,
- struct proc *p);
-
-int
-xfs_message_wakeup(int fd,
- struct xfs_message_wakeup *message,
- u_int size,
- struct proc *p);
-
-int
-xfs_message_wakeup_data(int fd,
- struct xfs_message_wakeup_data * message,
- u_int size,
- struct proc *p);
+int xfs_stat_filesys __P((void));
+int xfs_stat_device __P((void));
+int xfs_message_send __P((int fd, struct xfs_message_header *message,
+ u_int size));
+int xfs_message_rpc __P((int fd, struct xfs_message_header *message,
+ u_int size));
+int xfs_message_receive __P((int fd,struct xfs_message_header *message,
+ u_int size,struct proc *p));
+int xfs_message_wakeup __P((int fd, struct xfs_message_wakeup *message,
+ u_int size, struct proc *p));
+int xfs_message_wakeup_data __P((int fd,
+ struct xfs_message_wakeup_data *message,
+ u_int size, struct proc *p));
#define USE_SELECT
-#endif /* _xfs_dev_h */
+#endif
+