diff options
author | 1997-05-04 22:41:24 +0000 | |
---|---|---|
committer | 1997-05-04 22:41:24 +0000 | |
commit | 561ec4dcf7d7396add9bfcb83efb58d26b57c617 (patch) | |
tree | 9a9458652dd98534aa3a5ec96ba9933138c8bc7c /sys/lib | |
parent | Fix writing of pid file. From Matthieu Herrb <Mathieu.Herrb@mipnet.fr> (diff) | |
download | wireguard-openbsd-561ec4dcf7d7396add9bfcb83efb58d26b57c617.tar.xz wireguard-openbsd-561ec4dcf7d7396add9bfcb83efb58d26b57c617.zip |
Make null_read() and null_write() consistent with their prototypes.
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libsa/nullfs.c | 6 |
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; |