mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* vfs.h: Fixed prototypes for mc_read() and mc_write(). Now they
get void * instead of char *. * vfs.c: Likewise.
This commit is contained in:
parent
a3a1e26210
commit
526bf72983
@ -1,3 +1,9 @@
|
||||
2005-04-13 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* vfs.h: Fixed prototypes for mc_read() and mc_write(). Now they
|
||||
get void * instead of char *.
|
||||
* vfs.c: Likewise.
|
||||
|
||||
2005-03-31 Pavel S. Shirshov <me@pavelsh.pp.ru>
|
||||
|
||||
* extfs/uarj.in (mcarjfs_copyout): Use the regular extract command,
|
||||
|
@ -389,8 +389,8 @@ int mc_##name inarg \
|
||||
return result; \
|
||||
}
|
||||
|
||||
MC_HANDLEOP(read, (int handle, char *buffer, int count), (vfs_info (handle), buffer, count) )
|
||||
MC_HANDLEOP (write, (int handle, const char *buf, int nbyte), (vfs_info (handle), buf, nbyte))
|
||||
MC_HANDLEOP(read, (int handle, void *buffer, int count), (vfs_info (handle), buffer, count) )
|
||||
MC_HANDLEOP (write, (int handle, const void *buf, int nbyte), (vfs_info (handle), buf, nbyte))
|
||||
|
||||
|
||||
#define MC_RENAMEOP(name) \
|
||||
|
@ -19,8 +19,8 @@ int vfs_file_is_local (const char *filename);
|
||||
|
||||
int mc_open (const char *filename, int flags, ...);
|
||||
int mc_close (int handle);
|
||||
int mc_read (int handle, char *buffer, int count);
|
||||
int mc_write (int handle, const char *buffer, int count);
|
||||
int mc_read (int handle, void *buffer, int count);
|
||||
int mc_write (int handle, const void *buffer, int count);
|
||||
off_t mc_lseek (int fd, off_t offset, int whence);
|
||||
int mc_chdir (const char *path);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user