summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-04 22:41:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-04 22:41:25 +0000
commit4cafb5d9b6178f157bb9bade0db016e07095cf91 (patch)
tree7fa0a5c220404673c8e901857008b1691574e075 /sys
parentc14e613d44447b56b35d5211f731aee707096fe6 (diff)
Make null_read() and null_write() consistent with their prototypes.
Diffstat (limited to 'sys')
-rw-r--r--sys/lib/libsa/nullfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/nullfs.c b/sys/lib/libsa/nullfs.c
index 71f52022083..6066b59e21b 100644
--- a/sys/lib/libsa/nullfs.c
+++ b/sys/lib/libsa/nullfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nullfs.c,v 1.3 1997/02/16 14:39:38 mickey Exp $ */
+/* $OpenBSD: nullfs.c,v 1.4 1997/05/04 22:41:24 millert Exp $ */
/* $NetBSD: open.c,v 1.9 1995/09/19 09:16:52 thorpej Exp $ */
/*-
@@ -82,13 +82,13 @@ null_close(struct open_file *f)
return 0;
}
-int
+ssize_t
null_read (struct open_file *f, void *buf, size_t size, size_t *resid)
{
return EIO;
}
-int
+ssize_t
null_write (struct open_file *f, void *buf, size_t size, size_t *resid)
{
return EIO;