From 325163c0ef02c023a3fa270f93008eb771e5d50c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 9 Oct 2005 11:14:14 +0200 Subject: Added '__attribute__' to functions that use printf() like parameters --- thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thread.h') diff --git a/thread.h b/thread.h index 4eb09a10..e72677f3 100644 --- a/thread.h +++ b/thread.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.h 1.30 2005/08/14 11:21:48 kls Exp $ + * $Id: thread.h 1.31 2005/10/09 11:12:32 kls Exp $ */ #ifndef __THREAD_H @@ -106,7 +106,7 @@ public: ///< the thread starts and stops. The Start() function must be called ///< to actually start the thread. virtual ~cThread(); - void SetDescription(const char *Description, ...); + void SetDescription(const char *Description, ...) __attribute__ ((format (printf, 2, 3))); bool Start(void); ///< Actually starts the thread. bool Active(void); -- cgit v1.2.3