diff options
Diffstat (limited to 'src/common/text.h')
-rw-r--r-- | src/common/text.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/text.h b/src/common/text.h index a9fd9d4e..9a385167 100644 --- a/src/common/text.h +++ b/src/common/text.h @@ -43,8 +43,8 @@ void scrollback_load (session *sess); int text_word_check (char *word, int len); void PrintText (session *sess, char *text); void PrintTextTimeStamp (session *sess, char *text, time_t timestamp); -void PrintTextf (session *sess, char *format, ...); -void PrintTextTimeStampf (session *sess, time_t timestamp, char *format, ...); +void PrintTextf (session *sess, const char *format, ...) G_GNUC_PRINTF (2, 3); +void PrintTextTimeStampf (session *sess, time_t timestamp, const char *format, ...) G_GNUC_PRINTF (3, 4); void log_close (session *sess); void log_open_or_close (session *sess); void load_text_events (void); |