From 5806de25d73b25e973be05ab9305f221fc855a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 14 Nov 2007 12:25:53 +0000 Subject: [PATCH] No need to display function name and file/line twice svn path=/trunk/; revision=30439 --- reactos/drivers/network/ndis/include/debug.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/reactos/drivers/network/ndis/include/debug.h b/reactos/drivers/network/ndis/include/debug.h index 84271241a58..e1f699ddef9 100644 --- a/reactos/drivers/network/ndis/include/debug.h +++ b/reactos/drivers/network/ndis/include/debug.h @@ -59,21 +59,12 @@ extern ULONG DebugTraceLevel; #define assert_irql(x) ASSERT_IRQL(x) -#ifdef _MSC_VER - #define UNIMPLEMENTED \ - NDIS_DbgPrint(MIN_TRACE, ("The function at (%s:%d) is unimplemented.\n", __FILE__, __LINE__)); - -#else /* _MSC_VER */ - -#define UNIMPLEMENTED \ - NDIS_DbgPrint(MIN_TRACE, ("(%s) at (%s:%d) is unimplemented.\n", __FUNCTION__, __FILE__, __LINE__)); - -#endif /* _MSC_VER */ + NDIS_DbgPrint(MIN_TRACE, ("Unimplemented.\n", __FUNCTION__)); #define CHECKPOINT \ - do { NDIS_DbgPrint(MIN_TRACE, ("(%s:%d)\n", __FILE__, __LINE__)); } while(0); + do { NDIS_DbgPrint(MIN_TRACE, ("\n")); } while(0); #define CP CHECKPOINT