aboutsummaryrefslogtreecommitdiff
path: root/tst/va_test.c
diff options
context:
space:
mode:
authorbeber <beber>2005-12-07 00:06:52 +0000
committerbeber <beber>2005-12-07 00:06:52 +0000
commitef536bd8c1d2877b53ddd65a5b82a4083113f0ed (patch)
tree7ff9ba4c7338111f15dae27ac3008a485b2f4c7c /tst/va_test.c
parentc++ ? (diff)
downloadespik-ef536bd8c1d2877b53ddd65a5b82a4083113f0ed.tar.xz
GNUC
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()
{