diff options
author | Miles Bader <miles@gnu.org> | 1996-09-23 19:58:30 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-09-23 19:58:30 +0000 |
commit | fad27b7a697bc0ae039a365588ed331506104e62 (patch) | |
tree | b165322de49366d8762701874c83d71cc016d5d8 /storeio/open.c | |
parent | 5f5a34e1846c2139be4dc9da8e712cf91778ac94 (diff) | |
download | hurd-fad27b7a697bc0ae039a365588ed331506104e62.tar.gz hurd-fad27b7a697bc0ae039a365588ed331506104e62.tar.bz2 hurd-fad27b7a697bc0ae039a365588ed331506104e62.zip |
(open_read, open_write):
Use void * buffers.
Diffstat (limited to 'storeio/open.c')
-rw-r--r-- | storeio/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storeio/open.c b/storeio/open.c index f27dc3ab..b1013a94 100644 --- a/storeio/open.c +++ b/storeio/open.c @@ -52,7 +52,7 @@ open_free (struct open *open) and returns the number of bytes written in AMOUNT. If no error occurs, zero is returned, otherwise the error code is returned. */ error_t -open_write (struct open *open, off_t offs, char *buf, size_t len, +open_write (struct open *open, off_t offs, void *buf, size_t len, vm_size_t *amount) { error_t err; @@ -75,7 +75,7 @@ open_write (struct open *open, off_t offs, char *buf, size_t len, otherwise the error code is returned. */ error_t open_read (struct open *open, off_t offs, size_t amount, - char **buf, vm_size_t *len) + void **buf, vm_size_t *len) { error_t err; if (offs < 0) |