Index: trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h	(revision 20374)
@@ -36,5 +36,5 @@
 #include "internal/magics.h"
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 
 /**
@@ -68,5 +68,5 @@
 void        rtMemFree(PRTMEMHDR pHdr);
 
-RT_END_DECLS
+RT_C_DECLS_END
 #endif
 
Index: trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h	(revision 20374)
@@ -87,5 +87,5 @@
 
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 /* mach/vm_types.h */
 typedef struct pmap *pmap_t;
@@ -120,5 +120,5 @@
 extern int ml_get_max_cpus(void);
 
-RT_END_DECLS
+RT_C_DECLS_END
 
 
@@ -127,9 +127,9 @@
  */
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 extern lck_grp_t *g_pDarwinLockGroup;
 int  rtThreadPreemptDarwinInit(void);
 void rtThreadPreemptDarwinTerm(void);
-RT_END_DECLS
+RT_C_DECLS_END
 
 
Index: trunk/src/VBox/Runtime/r0drv/linux/string.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/linux/string.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/linux/string.h	(revision 20374)
@@ -34,5 +34,5 @@
 #include <iprt/cdefs.h>
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 #ifndef bool /* Linux 2.6.19 C++ nightmare */
 #define bool bool_type
@@ -56,5 +56,5 @@
     ;
 
-RT_END_DECLS
+RT_C_DECLS_END
 
 #endif
Index: trunk/src/VBox/Runtime/r0drv/mp-r0drv.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/mp-r0drv.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/mp-r0drv.h	(revision 20374)
@@ -34,5 +34,5 @@
 #include <iprt/mp.h>
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 
 /**
@@ -71,5 +71,5 @@
 void rtMpNotificationDoCallbacks(RTMPEVENT enmEvent, RTCPUID idCpu);
 
-RT_END_DECLS
+RT_C_DECLS_END
 
 #endif
Index: trunk/src/VBox/Runtime/r0drv/nt/internal-r0drv-nt.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/nt/internal-r0drv-nt.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/nt/internal-r0drv-nt.h	(revision 20374)
@@ -34,5 +34,5 @@
 #include <iprt/cpuset.h>
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 
 /*******************************************************************************
@@ -54,5 +54,5 @@
 
 
-RT_END_DECLS
+RT_C_DECLS_END
 
 #endif
Index: trunk/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h	(revision 20374)
@@ -41,7 +41,7 @@
 # define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
 # pragma warning(disable : 4163)
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 # include <ntddk.h>
-RT_END_DECLS
+RT_C_DECLS_END
 # pragma warning(default : 4163)
 # undef  _InterlockedExchange
@@ -50,7 +50,7 @@
 # undef  _InterlockedAddLargeStatistic
 #else
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 # include <ntddk.h>
-RT_END_DECLS
+RT_C_DECLS_END
 #endif
 
Index: trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp
===================================================================
--- trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp	(revision 20374)
@@ -41,7 +41,7 @@
 #include "internal-r0drv-nt.h"
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 NTSTATUS NTAPI ZwYieldExecution(void);
-RT_END_DECLS
+RT_C_DECLS_END
 
 
Index: trunk/src/VBox/Runtime/r0drv/os2/the-os2-kernel.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/os2/the-os2-kernel.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/os2/the-os2-kernel.h	(revision 20374)
@@ -40,5 +40,5 @@
 #include <os2ddk/devhlp.h>
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 
 extern PCDOSTABLE   g_pDosTable;
@@ -51,5 +51,5 @@
 DECLASM(int) RTR0Os2DHVMGlobalToProcess(ULONG fFlags, PVOID pvR0, ULONG cb, PPVOID ppvR3);
 
-RT_END_DECLS
+RT_C_DECLS_END
 
 #endif
Index: trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp
===================================================================
--- trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp	(revision 20374)
@@ -101,9 +101,9 @@
 *   Internal Functions                                                         *
 *******************************************************************************/
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 DECLASM(void) rtTimerOs2Tick(void);
 DECLASM(int) rtTimerOs2Arm(void);
 DECLASM(int) rtTimerOs2Dearm(void);
-RT_END_DECLS
+RT_C_DECLS_END
 
 
Index: trunk/src/VBox/Runtime/r0drv/power-r0drv.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/power-r0drv.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/power-r0drv.h	(revision 20374)
@@ -34,5 +34,5 @@
 #include <iprt/power.h>
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 
 /* Called from initterm-r0drv.cpp: */
@@ -40,5 +40,5 @@
 void rtR0PowerNotificationTerm(void);
 
-RT_END_DECLS
+RT_C_DECLS_END
 
 #endif
Index: trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h
===================================================================
--- trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h	(revision 20364)
+++ trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h	(revision 20374)
@@ -61,7 +61,7 @@
 #include <iprt/cdefs.h>
 
-RT_BEGIN_DECLS
+RT_C_DECLS_BEGIN
 extern struct ddi_dma_attr g_SolarisX86PhysMemLimits;
-RT_END_DECLS
+RT_C_DECLS_END
 
 #endif
