diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-09 11:14:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-09 11:14:14 +0200 |
commit | 325163c0ef02c023a3fa270f93008eb771e5d50c (patch) | |
tree | a6b50a6614a17d53bc27f8792808048d225bbea5 /svdrp.h | |
parent | 22ee421be95e973121675849767ea76d9932a757 (diff) | |
download | vdr-325163c0ef02c023a3fa270f93008eb771e5d50c.tar.gz vdr-325163c0ef02c023a3fa270f93008eb771e5d50c.tar.bz2 |
Added '__attribute__' to functions that use printf() like parameters
Diffstat (limited to 'svdrp.h')
-rw-r--r-- | svdrp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: svdrp.h 1.23 2005/08/28 14:10:32 kls Exp $ + * $Id: svdrp.h 1.24 2005/10/09 11:11:59 kls Exp $ */ #ifndef __SVDRP_H @@ -51,7 +51,7 @@ private: time_t lastActivity; void Close(bool Timeout = false); bool Send(const char *s, int length = -1); - void Reply(int Code, const char *fmt, ...); + void Reply(int Code, const char *fmt, ...) __attribute__ ((format (printf, 3, 4))); void PrintHelpTopics(const char **hp); void CmdCHAN(const char *Option); void CmdCLRE(const char *Option); |