aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tst/va_test.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tst/va_test.c b/tst/va_test.c
index ac070ca..0413f99 100644
--- a/tst/va_test.c
+++ b/tst/va_test.c
@@ -17,19 +17,15 @@
}
*/
-#ifdef __cplusplus
-extern"C" {
-#endif
+#ifdef __GNUC__
#define espik_debug_print (fmt, ...) \
{ \
fprintf (stdout, "%s, %s, %i: ", __FUNCTION__, __FILE__, __LINE__); \
- vfprintf (stdout, fmt, ## __VA_ARGS__); \
+ vfprintf (stdout, fmt, __VA_ARGS__); \
}
-#ifdef __cplusplus
-}
-#endif
+#endif /* __GNUC__ */
int main()
{