make the using of variable
arguments to function-type macros consistent with the C99 standard git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@70 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
5c181a1e5f
commit
6063a29f3b
@ -32,9 +32,9 @@
|
||||
#endif
|
||||
|
||||
#if defined(WITH_DEBUG_KBD)
|
||||
#define DEBUG_KBD(args...) fprintf(stderr, args);
|
||||
#define DEBUG_KBD(...) fprintf(stderr, __VA_ARGS__);
|
||||
#else
|
||||
#define DEBUG_KBD(args...)
|
||||
#define DEBUG_KBD(...)
|
||||
#endif
|
||||
|
||||
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; }
|
||||
|
Loading…
Reference in New Issue
Block a user