From 4cafb5d9b6178f157bb9bade0db016e07095cf91 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 4 May 1997 22:41:25 +0000 Subject: Make null_read() and null_write() consistent with their prototypes. --- sys/lib/libsa/nullfs.c | 6 +++--- 1 file 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; -- cgit v1.2.3