* fish.c: Replaced the printf-like attribute with __printf__,

since GNU gettext defines a macro printf on some systems.
	* ftpfs.c: Likewise.
This commit is contained in:
Roland Illig 2006-02-03 14:45:44 +00:00
parent ba9bd33681
commit 2390300034
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-02-03 Roland Illig <roland.illig@gmx.de>
* fish.c: Replaced the printf-like attribute with __printf__,
since GNU gettext defines a macro printf on some systems.
* ftpfs.c: Likewise.
2006-01-28 Pavel Tsekov <ptsekov@gmx.net>
* direntry.c (vfs_s_open): Be less restrictive when

View File

@ -83,7 +83,7 @@ static struct vfs_class vfs_fish_ops;
static int
fish_command (struct vfs_class *me, struct vfs_s_super *super,
int wait_reply, const char *fmt, ...)
__attribute__ ((format (printf, 4, 5)));
__attribute__ ((format (__printf__, 4, 5)));
static int fish_decode_reply (char *s, int was_garbage)
{

View File

@ -161,7 +161,7 @@ static struct vfs_class vfs_ftpfs_ops;
static char *ftpfs_get_current_directory (struct vfs_class *me, struct vfs_s_super *super);
static int ftpfs_chdir_internal (struct vfs_class *me, struct vfs_s_super *super, const char *remote_path);
static int ftpfs_command (struct vfs_class *me, struct vfs_s_super *super, int wait_reply, const char *fmt, ...)
__attribute__ ((format (printf, 4, 5)));
__attribute__ ((format (__printf__, 4, 5)));
static int ftpfs_open_socket (struct vfs_class *me, struct vfs_s_super *super);
static int ftpfs_login_server (struct vfs_class *me, struct vfs_s_super *super, const char *netrcpass);
static int ftpfs_netrc_lookup (const char *host, char **login, char **pass);