VirtualBox

Changeset 20369 in vbox for trunk


Ignore:
Timestamp:
Jun 8, 2009 12:26:50 AM (16 years ago)
Author:
vboxsync
Message:

Additions: BEGIN_DECLS -> RT_BEGIN_DECLS; END_DECLS -> RT_END_DECLS.

Location:
trunk/src/VBox/Additions
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h

    r19844 r20369  
    3232#endif /* VBOX_WITH_HGSMI */
    3333
    34 __BEGIN_DECLS
     34RT_BEGIN_DECLS
    3535#include "dderror.h"
    3636#include "devioctl.h"
     
    3838#include "ntddvdeo.h"
    3939#include "video.h"
    40 __END_DECLS
     40RT_END_DECLS
    4141
    4242
     
    158158{
    159159
    160 __BEGIN_DECLS
     160RT_BEGIN_DECLS
    161161ULONG DriverEntry(IN PVOID Context1, IN PVOID Context2);
    162 __END_DECLS
     162RT_END_DECLS
    163163
    164164VP_STATUS VBoxVideoFindAdapter(
  • trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp

    r18854 r20369  
    3030// VBOX end
    3131
    32 __BEGIN_DECLS
     32RT_BEGIN_DECLS
    3333NTSTATUS DriverEntry (PDRIVER_OBJECT, PUNICODE_STRING);
    34 __END_DECLS
     34RT_END_DECLS
    3535
    3636#ifdef ALLOC_PRAGMA
  • trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.h

    r8155 r20369  
    2525
    2626#include <iprt/assert.h>
    27 __BEGIN_DECLS
     27RT_BEGIN_DECLS
    2828#include "ntddk.h"
    2929#include "kbdmou.h"
    3030#include <ntddmou.h>
    3131#include <ntdd8042.h>
    32 __END_DECLS
     32RT_END_DECLS
    3333#include <VBox/VBoxGuest.h>
    3434
     
    151151// Prototypes
    152152//
    153 __BEGIN_DECLS
     153RT_BEGIN_DECLS
    154154
    155155NTSTATUS
     
    226226    );
    227227
    228 __END_DECLS
     228RT_END_DECLS
    229229
    230230#endif  // VBOXMOUSE_H
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp

    r18170 r20369  
    8080*   Exported Functions                                                         *
    8181*******************************************************************************/
    82 __BEGIN_DECLS
     82RT_BEGIN_DECLS
    8383ULONG DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath);
    84 __END_DECLS
     84RT_END_DECLS
    8585
    8686#ifdef ALLOC_PRAGMA
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest_Internal.h

    r18512 r20369  
    3636#  define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
    3737#  pragma warning(disable : 4163)
    38 __BEGIN_DECLS
     38RT_BEGIN_DECLS
    3939#  include <ntddk.h>
    40 __END_DECLS
     40RT_END_DECLS
    4141#  pragma warning(default : 4163)
    4242#  undef  _InterlockedExchange
     
    4545#  undef  _InterlockedAddLargeStatistic
    4646# else
    47 __BEGIN_DECLS
     47RT_BEGIN_DECLS
    4848#  include <ntddk.h>
    49 __END_DECLS
     49RT_END_DECLS
    5050# endif
    5151#endif
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp

    r14297 r20369  
    8888#define SESSION_HASH(sfn) ((sfn) % RT_ELEMENTS(g_apSessionHashTab))
    8989
    90 __BEGIN_DECLS
     90RT_BEGIN_DECLS
    9191/* Defined in VBoxGuestA-os2.asm */
    9292extern uint32_t             g_PhysMMIOBase;
     
    109109extern uint16_t             g_cchInitText;
    110110extern uint16_t             g_cchInitTextMax;
    111 __END_DECLS
     111RT_END_DECLS
    112112
    113113
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h

    r11820 r20369  
    147147
    148148
    149 __BEGIN_DECLS
     149RT_BEGIN_DECLS
    150150
    151151int  VBoxGuestInitDevExt(PVBOXGUESTDEVEXT pDevExt, uint16_t IOPortBase, void *pvMMIOBase, uint32_t cbMMIO, VBOXOSTYPE enmOSType);
     
    162162                          void *pvData, size_t cbData, size_t *pcbDataReturned);
    163163
    164 __END_DECLS
     164RT_END_DECLS
    165165
    166166#endif
  • trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.cpp

    r19093 r20369  
    142142
    143143#ifdef RT_OS_LINUX
    144 __BEGIN_DECLS
     144RT_BEGIN_DECLS
    145145extern DECLVBGL(void *) vboxadd_cmc_open (void);
    146146extern DECLVBGL(void) vboxadd_cmc_close (void *);
    147147extern DECLVBGL(int) vboxadd_cmc_call (void *opaque, uint32_t func, void *data);
    148 __END_DECLS
     148RT_END_DECLS
    149149#endif /* RT_OS_LINUX */
    150150
    151151#ifdef RT_OS_OS2
    152 __BEGIN_DECLS
     152RT_BEGIN_DECLS
    153153/*
    154154 * On OS/2 we'll do the connecting in the assembly code of the
     
    157157 */
    158158extern VBOXGUESTOS2IDCCONNECT g_VBoxGuestIDC;
    159 __END_DECLS
     159RT_END_DECLS
    160160#endif
    161161
    162162#ifdef RT_OS_SOLARIS
    163 __BEGIN_DECLS
     163RT_BEGIN_DECLS
    164164extern DECLVBGL(void *) VBoxGuestSolarisServiceOpen (uint32_t *pu32Version);
    165165extern DECLVBGL(void) VBoxGuestSolarisServiceClose (void *pvOpaque);
    166166extern DECLVBGL(int) VBoxGuestSolarisServiceCall (void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn);
    167 __END_DECLS
     167RT_END_DECLS
    168168
    169169#elif defined (RT_OS_FREEBSD)
    170 __BEGIN_DECLS
     170RT_BEGIN_DECLS
    171171extern DECLVBGL(void *) VBoxGuestFreeBSDServiceOpen (uint32_t *pu32Version);
    172172extern DECLVBGL(void) VBoxGuestFreeBSDServiceClose (void *pvOpaque);
    173173extern DECLVBGL(int) VBoxGuestFreeBSDServiceCall (void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn);
    174 __END_DECLS
     174RT_END_DECLS
    175175
    176176#endif
  • trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.h

    r18502 r20369  
    3232#  define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
    3333#  pragma warning(disable : 4163)
    34 __BEGIN_DECLS
     34RT_BEGIN_DECLS
    3535#  include <ntddk.h>
    36 __END_DECLS
     36RT_END_DECLS
    3737#  pragma warning(default : 4163)
    3838#  undef  _InterlockedExchange
     
    4141#  undef  _InterlockedAddLargeStatistic
    4242# else
    43 __BEGIN_DECLS
     43RT_BEGIN_DECLS
    4444#  include <ntddk.h>
    45 __END_DECLS
     45RT_END_DECLS
    4646# endif
    4747/* XP DDK #defines ExFreePool to ExFreePoolWithTag. The latter does not exist on NT4, so...
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLR3Internal.h

    r18451 r20369  
    2828#include <VBox/VBoxGuest.h>
    2929
    30 __BEGIN_DECLS
     30RT_BEGIN_DECLS
    3131
    3232int     vbglR3DoIOCtl(unsigned iFunction, void *pvData, size_t cbData);
     
    9393#endif /* ___iprt_string_h */
    9494
    95 __END_DECLS
     95RT_END_DECLS
    9696
    9797#endif
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxCalls.h

    r18501 r20369  
    3434#   define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKvsCompilerCrap
    3535#   pragma warning(disable : 4163)
    36     __BEGIN_DECLS
     36    RT_BEGIN_DECLS
    3737#   include <ntddk.h>
    38     __END_DECLS
     38    RT_END_DECLS
    3939#   pragma warning(default : 4163)
    4040#   undef  _InterlockedExchange
     
    4343#   undef  _InterlockedAddLargeStatistic
    4444#  else
    45     __BEGIN_DECLS
     45    RT_BEGIN_DECLS
    4646#   include <ntddk.h>
    47     __END_DECLS
     47    RT_END_DECLS
    4848#  endif
    4949# endif
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r19644 r20369  
    116116#endif
    117117
    118 __BEGIN_DECLS
     118RT_BEGIN_DECLS
    119119
    120120extern char *g_pszProgName;
     
    155155#endif /* RT_OS_WINDOWS */
    156156
    157 __END_DECLS
     157RT_END_DECLS
    158158
    159159#endif
Note: See TracChangeset for help on using the changeset viewer.

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