* vfs.h [!USE_VFS]: Declare mc_setctl as static inline function

to fix warnings.
This commit is contained in:
Pavel Roskin 2002-08-15 01:33:11 +00:00
parent 7d54de2474
commit 11a66b3ffd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-08-14 Pavel Roskin <proski@gnu.org>
* vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
to fix warnings.
2002-08-06 Andrew V. Samoilov <kai@cmail.ru>
* smbfs.c (myumask): Removed. It is only written and never read.

View File

@ -265,7 +265,7 @@
# define mc_munmap munmap
# define mc_ctl(a,b,c) 0
# define mc_setctl(a,b,c) 0
static inline int mc_setctl(a,b,c) { return 0; }
# define vfs_translate_url(s) g_strdup(s)
# define mc_stat stat