summaryrefslogtreecommitdiff
path: root/svdrp.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-09 11:14:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-09 11:14:14 +0200
commit325163c0ef02c023a3fa270f93008eb771e5d50c (patch)
treea6b50a6614a17d53bc27f8792808048d225bbea5 /svdrp.h
parent22ee421be95e973121675849767ea76d9932a757 (diff)
downloadvdr-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.h b/svdrp.h
index baa4fb33..9275bf27 100644
--- a/svdrp.h
+++ b/svdrp.h
@@ -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);