VirtualBox

Changeset 20374 in vbox for trunk/src/VBox/Runtime


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

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

Location:
trunk/src/VBox/Runtime
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Doxyfile

    r20364 r20374  
    11631163
    11641164PREDEFINED             = DOXYGEN_RUNNING __DOXYGEN__ \
    1165     RT_END_DECLS=  \
    1166     RT_BEGIN_DECLS=  \
     1165    RT_C_DECLS_END=  \
     1166    RT_C_DECLS_BEGIN=  \
    11671167    VBOX=1 \
    11681168    RT_STRICT=1 \
  • trunk/src/VBox/Runtime/common/math/gcc/quad.h

    r20364 r20374  
    136136#endif
    137137
    138 RT_BEGIN_DECLS
     138RT_C_DECLS_BEGIN
    139139quad_t __adddi3 __P((quad_t, quad_t));
    140140quad_t __anddi3 __P((quad_t, quad_t));
     
    163163u_quad_t __umoddi3 __P((u_quad_t, u_quad_t ));
    164164quad_t __xordi3 __P((quad_t, quad_t));
    165 RT_END_DECLS
     165RT_C_DECLS_END
  • trunk/src/VBox/Runtime/generic/env-generic.cpp

    r20364 r20374  
    4949#endif
    5050#if defined(RT_OS_SOLARIS) || defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD) || defined(RT_OS_OPENBSD)
    51 RT_BEGIN_DECLS
     51RT_C_DECLS_BEGIN
    5252extern char **environ;
    53 RT_END_DECLS
     53RT_C_DECLS_END
    5454#endif
    5555
  • trunk/src/VBox/Runtime/include/internal/dbgmod.h

    r20364 r20374  
    2727#include "internal/magics.h"
    2828
    29 RT_BEGIN_DECLS
     29RT_C_DECLS_BEGIN
    3030
    3131/** @defgroup grp_rt_dbgmod     RTDbgMod - Debug Module Interperter
     
    248248/** @} */
    249249
    250 RT_END_DECLS
     250RT_C_DECLS_END
    251251
    252252#endif
  • trunk/src/VBox/Runtime/include/internal/file.h

    r20364 r20374  
    3434#include <iprt/file.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838/**
     
    4848int rtFileRecalcAndValidateFlags(unsigned *pfOpen);
    4949
    50 RT_END_DECLS
     50RT_C_DECLS_END
    5151
    5252#endif
  • trunk/src/VBox/Runtime/include/internal/fileaio.h

    r20364 r20374  
    109109
    110110
    111 RT_BEGIN_DECLS
     111RT_C_DECLS_BEGIN
    112112
    113 RT_END_DECLS
     113RT_C_DECLS_END
    114114
    115115#endif
  • trunk/src/VBox/Runtime/include/internal/fs.h

    r20364 r20374  
    3737#endif
    3838
    39 RT_BEGIN_DECLS
     39RT_C_DECLS_BEGIN
    4040
    4141RTFMODE rtFsModeFromDos(RTFMODE fMode, const char *pszName, size_t cbName);
     
    5858#endif
    5959
    60 RT_END_DECLS
     60RT_C_DECLS_END
    6161
    6262#endif
  • trunk/src/VBox/Runtime/include/internal/initterm.h

    r20364 r20374  
    3434#include <iprt/cdefs.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838#ifdef IN_RING0
     
    5252#endif /* IN_RING0 */
    5353
    54 RT_END_DECLS
     54RT_C_DECLS_END
    5555
    5656#endif
  • trunk/src/VBox/Runtime/include/internal/ldr.h

    r20364 r20374  
    3535#include "internal/magics.h"
    3636
    37 RT_BEGIN_DECLS
     37RT_C_DECLS_BEGIN
    3838
    3939
     
    379379
    380380
    381 RT_END_DECLS
     381RT_C_DECLS_END
    382382
    383383#endif
  • trunk/src/VBox/Runtime/include/internal/memobj.h

    r20364 r20374  
    3636#include "internal/magics.h"
    3737
    38 RT_BEGIN_DECLS
     38RT_C_DECLS_BEGIN
    3939
    4040/** @defgroup grp_rt_memobj_int Internals.
     
    427427/** @} */
    428428
    429 RT_END_DECLS
     429RT_C_DECLS_END
    430430
    431431#endif
  • trunk/src/VBox/Runtime/include/internal/path.h

    r20364 r20374  
    3535#include <iprt/param.h>
    3636
    37 RT_BEGIN_DECLS
     37RT_C_DECLS_BEGIN
    3838
    3939#if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS)
     
    109109
    110110
    111 RT_END_DECLS
     111RT_C_DECLS_END
    112112
    113113#endif
  • trunk/src/VBox/Runtime/include/internal/process.h

    r20364 r20374  
    3535#include <iprt/param.h>
    3636
    37 RT_BEGIN_DECLS
     37RT_C_DECLS_BEGIN
    3838
    3939extern RTPROCESS        g_ProcessSelf;
     
    6767DECLHIDDEN(int) rtProcInitExePath(char *pszPath, size_t cchPath);
    6868
    69 RT_END_DECLS
     69RT_C_DECLS_END
    7070
    7171#endif
  • trunk/src/VBox/Runtime/include/internal/rand.h

    r20364 r20374  
    161161
    162162
    163 RT_BEGIN_DECLS
     163RT_C_DECLS_BEGIN
    164164
    165165/**
     
    190190DECLCALLBACK(int)       rtRandAdvDefaultDestroy(PRTRANDINT pThis);
    191191
    192 RT_END_DECLS
     192RT_C_DECLS_END
    193193
    194194#endif
  • trunk/src/VBox/Runtime/include/internal/sched.h

    r20364 r20374  
    3636#include "internal/thread.h"
    3737
    38 RT_BEGIN_DECLS
     38RT_C_DECLS_BEGIN
    3939
    4040/**
     
    4747int rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType);
    4848
    49 RT_END_DECLS
     49RT_C_DECLS_END
    5050
    5151#endif
  • trunk/src/VBox/Runtime/include/internal/string.h

    r20364 r20374  
    3434#include <iprt/string.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838/** @def RTSTR_STRICT
     
    5858size_t rtstrFormatType(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize);
    5959
    60 RT_END_DECLS
     60RT_C_DECLS_END
    6161
    6262#endif
  • trunk/src/VBox/Runtime/include/internal/thread.h

    r20364 r20374  
    4141#include "internal/magics.h"
    4242
    43 RT_BEGIN_DECLS
     43RT_C_DECLS_BEGIN
    4444
    4545
     
    208208#endif
    209209
    210 RT_END_DECLS
    211 
    212 #endif
     210RT_C_DECLS_END
     211
     212#endif
  • trunk/src/VBox/Runtime/include/internal/time.h

    r20364 r20374  
    3434#include <iprt/types.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838#if defined(IN_RING3) || defined(IN_RC)
     
    4444#endif
    4545
    46 RT_END_DECLS
     46RT_C_DECLS_END
    4747
    4848#endif
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h

    r20364 r20374  
    3636#include "internal/magics.h"
    3737
    38 RT_BEGIN_DECLS
     38RT_C_DECLS_BEGIN
    3939
    4040/**
     
    6868void        rtMemFree(PRTMEMHDR pHdr);
    6969
    70 RT_END_DECLS
     70RT_C_DECLS_END
    7171#endif
    7272
  • trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h

    r20364 r20374  
    8787
    8888
    89 RT_BEGIN_DECLS
     89RT_C_DECLS_BEGIN
    9090/* mach/vm_types.h */
    9191typedef struct pmap *pmap_t;
     
    120120extern int ml_get_max_cpus(void);
    121121
    122 RT_END_DECLS
     122RT_C_DECLS_END
    123123
    124124
     
    127127 */
    128128
    129 RT_BEGIN_DECLS
     129RT_C_DECLS_BEGIN
    130130extern lck_grp_t *g_pDarwinLockGroup;
    131131int  rtThreadPreemptDarwinInit(void);
    132132void rtThreadPreemptDarwinTerm(void);
    133 RT_END_DECLS
     133RT_C_DECLS_END
    134134
    135135
  • trunk/src/VBox/Runtime/r0drv/linux/string.h

    r20364 r20374  
    3434#include <iprt/cdefs.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737#ifndef bool /* Linux 2.6.19 C++ nightmare */
    3838#define bool bool_type
     
    5656    ;
    5757
    58 RT_END_DECLS
     58RT_C_DECLS_END
    5959
    6060#endif
  • trunk/src/VBox/Runtime/r0drv/mp-r0drv.h

    r20364 r20374  
    3434#include <iprt/mp.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838/**
     
    7171void rtMpNotificationDoCallbacks(RTMPEVENT enmEvent, RTCPUID idCpu);
    7272
    73 RT_END_DECLS
     73RT_C_DECLS_END
    7474
    7575#endif
  • trunk/src/VBox/Runtime/r0drv/nt/internal-r0drv-nt.h

    r20364 r20374  
    3434#include <iprt/cpuset.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838/*******************************************************************************
     
    5454
    5555
    56 RT_END_DECLS
     56RT_C_DECLS_END
    5757
    5858#endif
  • trunk/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h

    r20364 r20374  
    4141# define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
    4242# pragma warning(disable : 4163)
    43 RT_BEGIN_DECLS
     43RT_C_DECLS_BEGIN
    4444# include <ntddk.h>
    45 RT_END_DECLS
     45RT_C_DECLS_END
    4646# pragma warning(default : 4163)
    4747# undef  _InterlockedExchange
     
    5050# undef  _InterlockedAddLargeStatistic
    5151#else
    52 RT_BEGIN_DECLS
     52RT_C_DECLS_BEGIN
    5353# include <ntddk.h>
    54 RT_END_DECLS
     54RT_C_DECLS_END
    5555#endif
    5656
  • trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp

    r20364 r20374  
    4141#include "internal-r0drv-nt.h"
    4242
    43 RT_BEGIN_DECLS
     43RT_C_DECLS_BEGIN
    4444NTSTATUS NTAPI ZwYieldExecution(void);
    45 RT_END_DECLS
     45RT_C_DECLS_END
    4646
    4747
  • trunk/src/VBox/Runtime/r0drv/os2/the-os2-kernel.h

    r20364 r20374  
    4040#include <os2ddk/devhlp.h>
    4141
    42 RT_BEGIN_DECLS
     42RT_C_DECLS_BEGIN
    4343
    4444extern PCDOSTABLE   g_pDosTable;
     
    5151DECLASM(int) RTR0Os2DHVMGlobalToProcess(ULONG fFlags, PVOID pvR0, ULONG cb, PPVOID ppvR3);
    5252
    53 RT_END_DECLS
     53RT_C_DECLS_END
    5454
    5555#endif
  • trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp

    r20364 r20374  
    101101*   Internal Functions                                                         *
    102102*******************************************************************************/
    103 RT_BEGIN_DECLS
     103RT_C_DECLS_BEGIN
    104104DECLASM(void) rtTimerOs2Tick(void);
    105105DECLASM(int) rtTimerOs2Arm(void);
    106106DECLASM(int) rtTimerOs2Dearm(void);
    107 RT_END_DECLS
     107RT_C_DECLS_END
    108108
    109109
  • trunk/src/VBox/Runtime/r0drv/power-r0drv.h

    r20364 r20374  
    3434#include <iprt/power.h>
    3535
    36 RT_BEGIN_DECLS
     36RT_C_DECLS_BEGIN
    3737
    3838/* Called from initterm-r0drv.cpp: */
     
    4040void rtR0PowerNotificationTerm(void);
    4141
    42 RT_END_DECLS
     42RT_C_DECLS_END
    4343
    4444#endif
  • trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h

    r20364 r20374  
    6161#include <iprt/cdefs.h>
    6262
    63 RT_BEGIN_DECLS
     63RT_C_DECLS_BEGIN
    6464extern struct ddi_dma_attr g_SolarisX86PhysMemLimits;
    65 RT_END_DECLS
     65RT_C_DECLS_END
    6666
    6767#endif
  • trunk/src/VBox/Runtime/r3/alloc-ef.h

    r20364 r20374  
    159159*   Internal Functions                                                         *
    160160******************************************************************************/
    161 RT_BEGIN_DECLS
     161RT_C_DECLS_BEGIN
    162162void *  rtMemAlloc(const char *pszOp, RTMEMTYPE enmType, size_t cb, void *pvCaller, unsigned iLine, const char *pszFile, const char *pszFunction);
    163163void *  rtMemRealloc(const char *pszOp, RTMEMTYPE enmType, void *pvOld, size_t cbNew, void *pvCaller, unsigned iLine, const char *pszFile, const char *pszFunction);
    164164void    rtMemFree(const char *pszOp, RTMEMTYPE enmType, void *pv, void *pvCaller, unsigned iLine, const char *pszFile, const char *pszFunction);
    165 RT_END_DECLS
     165RT_C_DECLS_END
    166166
    167167#endif
  • trunk/src/VBox/Runtime/r3/win/timer-win.cpp

    r20364 r20374  
    7575#include "internal/magics.h"
    7676
    77 RT_BEGIN_DECLS
     77RT_C_DECLS_BEGIN
    7878/* from sysinternals. */
    7979NTSYSAPI LONG NTAPI NtSetTimerResolution(IN ULONG DesiredResolution, IN BOOLEAN SetResolution, OUT PULONG CurrentResolution);
    8080NTSYSAPI LONG NTAPI NtQueryTimerResolution(OUT PULONG MaximumResolution, OUT PULONG MinimumResolution, OUT PULONG CurrentResolution);
    81 RT_END_DECLS
     81RT_C_DECLS_END
    8282
    8383
  • trunk/src/VBox/Runtime/testcase/tstR0ThreadPreemption.h

    r20364 r20374  
    3030
    3131#ifdef IN_RING0
    32 RT_BEGIN_DECLS
     32RT_C_DECLS_BEGIN
    3333DECLEXPORT(int) TSTR0ThreadPreemptionSrvReqHandler(PSUPDRVSESSION pSession, uint32_t uOperation,
    3434                                                   uint64_t u64Arg, PSUPR0SERVICEREQHDR pReqHdr);
    35 RT_END_DECLS
     35RT_C_DECLS_END
    3636#endif
    3737
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