Mercurial > gftp.yaz
diff src/gtk/gftp-gtk.h @ 338:0f34108f27b7
2003-12-10 Brian Masney <masneyb@gftp.org>
* lib/gftp.h src/text/gftp-text.h src/gtk/gftp-gtk.h - added
GFTP_LOG_FUNCTION_ATTRIBUTES that is only defined when compiled
against gcc. When this is set, it will specify the function is
printf() type function so that extra checks can be done by the
compiler. This is to fix problems with older Sun compilers.
author | masneyb |
---|---|
date | Sat, 13 Dec 2003 20:52:14 +0000 |
parents | 3b9d5797050f |
children | eedc2c5727fa |
line wrap: on
line diff
--- a/src/gtk/gftp-gtk.h Sat Dec 13 20:36:39 2003 +0000 +++ b/src/gtk/gftp-gtk.h Sat Dec 13 20:52:14 2003 +0000 @@ -291,7 +291,7 @@ void ftp_log ( gftp_logging_level level, gftp_request * request, const char *string, - ... ) __attribute__((format(printf, 3, 4))); + ... ) GFTP_LOG_FUNCTION_ATTRIBUTES; void refresh ( gftp_window_data * wdata );