VirtualBox

Ignore:
Timestamp:
Jun 8, 2009 12:43:21 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48298
Message:

*: s/RT_\(BEGIN|END\)_DECLS/RT_C_DECLS_\1/g

Location:
trunk/src/VBox/HostDrivers/Support
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIDC.h

    r20366 r20374  
    226226 * Most OSes uses
    227227 */
    228 RT_BEGIN_DECLS
     228RT_C_DECLS_BEGIN
    229229
    230230#if defined(RT_OS_DARWIN)
     
    250250#endif
    251251
    252 RT_END_DECLS
     252RT_C_DECLS_END
    253253
    254254/**
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r20366 r20374  
    4949
    5050#if defined(RT_OS_WINDOWS)
    51     RT_BEGIN_DECLS
     51    RT_C_DECLS_BEGIN
    5252#   if (_MSC_VER >= 1400) && !defined(VBOX_WITH_PATCHED_DDK)
    5353#       define _InterlockedExchange           _InterlockedExchange_StupidDDKVsCompilerCrap
     
    7676#   define memcmp(a,b,c) mymemcmp(a,b,c)
    7777    int VBOXCALL mymemcmp(const void *, const void *, size_t);
    78     RT_END_DECLS
     78    RT_C_DECLS_END
    7979
    8080#elif defined(RT_OS_LINUX)
     
    191191#endif
    192192
    193 RT_BEGIN_DECLS
     193RT_C_DECLS_BEGIN
    194194int  linux_dprintf(const char *format, ...);
    195 RT_END_DECLS
     195RT_C_DECLS_END
    196196
    197197/* debug printf */
     
    624624
    625625
    626 RT_BEGIN_DECLS
     626RT_C_DECLS_BEGIN
    627627
    628628/*******************************************************************************
     
    651651bool VBOXCALL   supdrvDetermineAsyncTsc(uint64_t *pu64DiffCores);
    652652
    653 RT_END_DECLS
    654 
    655 #endif
    656 
     653RT_C_DECLS_END
     654
     655#endif
     656
  • trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h

    r20366 r20374  
    242242*   OS Specific Function                                                       *
    243243*******************************************************************************/
    244 RT_BEGIN_DECLS
     244RT_C_DECLS_BEGIN
    245245int     suplibOsInstall(void);
    246246int     suplibOsUninstall(void);
     
    315315
    316316
    317 RT_END_DECLS
    318 
    319 
    320 #endif
    321 
     317RT_C_DECLS_END
     318
     319
     320#endif
     321
  • trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h

    r20366 r20374  
    4343#  define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
    4444#  pragma warning(disable : 4163)
    45 RT_BEGIN_DECLS
     45RT_C_DECLS_BEGIN
    4646#  include <ntddk.h>
    47 RT_END_DECLS
     47RT_C_DECLS_END
    4848#  pragma warning(default : 4163)
    4949#  undef  _InterlockedExchange
     
    5252#  undef  _InterlockedAddLargeStatistic
    5353# else
    54 RT_BEGIN_DECLS
     54RT_C_DECLS_BEGIN
    5555#  include <ntddk.h>
    56 RT_END_DECLS
     56RT_C_DECLS_END
    5757# endif
    5858#endif /* RT_OS_WINDOWS */
     
    8080AssertCompile(RT_SIZEOFMEMB(SUPDRVIDCHANDLE, apvPadding) >= sizeof(struct SUPDRVIDCHANDLEPRIVATE));
    8181
    82 RT_BEGIN_DECLS
     82RT_C_DECLS_BEGIN
    8383PSUPDRVIDCHANDLE supR0IdcGetHandleFromSession(PSUPDRVSESSION pSession);
    8484int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq);
    8585int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq);
    8686int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq);
    87 RT_END_DECLS
     87RT_C_DECLS_END
    8888
    8989#endif
  • trunk/src/VBox/HostDrivers/Support/SUPSvcInternal.h

    r20366 r20374  
    3737#include <iprt/getopt.h>
    3838
    39 RT_BEGIN_DECLS
     39RT_C_DECLS_BEGIN
    4040
    4141/** @name Common Helpers
     
    9090/** @} */
    9191
    92 RT_END_DECLS
     92RT_C_DECLS_END
    9393
    9494#endif
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r20366 r20374  
    7171
    7272#ifdef VBOX_WITH_HOST_VMX
    73 RT_BEGIN_DECLS
     73RT_C_DECLS_BEGIN
    7474# include <i386/vmx.h>
    75 RT_END_DECLS
     75RT_C_DECLS_END
    7676#endif
    7777
     
    8989*   Internal Functions                                                         *
    9090*******************************************************************************/
    91 RT_BEGIN_DECLS
     91RT_C_DECLS_BEGIN
    9292static kern_return_t    VBoxDrvDarwinStart(struct kmod_info *pKModInfo, void *pvData);
    9393static kern_return_t    VBoxDrvDarwinStop(struct kmod_info *pKModInfo, void *pvData);
     
    101101
    102102static IOReturn         VBoxDrvDarwinSleepHandler(void *pvTarget, void *pvRefCon, UInt32 uMessageType, IOService *pProvider, void *pvMessageArgument, vm_size_t argSize);
    103 RT_END_DECLS
     103RT_C_DECLS_END
    104104
    105105
     
    162162 * Declare the module stuff.
    163163 */
    164 RT_BEGIN_DECLS
     164RT_C_DECLS_BEGIN
    165165extern kern_return_t _start(struct kmod_info *pKModInfo, void *pvData);
    166166extern kern_return_t _stop(struct kmod_info *pKModInfo, void *pvData);
     
    170170DECLHIDDEN(kmod_stop_func_t *)  _antimain = VBoxDrvDarwinStop;
    171171DECLHIDDEN(int)                 _kext_apple_cc = __APPLE_CC__;
    172 RT_END_DECLS
     172RT_C_DECLS_END
    173173
    174174
  • trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp

    r20366 r20374  
    6464#define SESSION_HASH(sfn) ((sfn) % RT_ELEMENTS(g_apSessionHashTab))
    6565
    66 RT_BEGIN_DECLS
     66RT_C_DECLS_BEGIN
    6767/* Defined in SUPDrvA-os2.asm */
    6868extern uint16_t             g_offLogHead;
     
    7474extern uint16_t             g_cchInitText;
    7575extern uint16_t             g_cchInitTextMax;
    76 RT_END_DECLS
     76RT_C_DECLS_END
    7777
    7878
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r20366 r20374  
    9191*   Exported Functions                                                         *
    9292*******************************************************************************/
    93 RT_BEGIN_DECLS
     93RT_C_DECLS_BEGIN
    9494ULONG _stdcall DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath);
    95 RT_END_DECLS
     95RT_C_DECLS_END
    9696
    9797
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette