VirtualBox

Changeset 20374 in vbox for trunk/src/VBox/Devices/Network


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/Devices/Network
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000.cpp

    r20367 r20374  
    997997
    998998/* Forward declarations ******************************************************/
    999 RT_BEGIN_DECLS
     999RT_C_DECLS_BEGIN
    10001000PDMBOTHCBDECL(int) e1kMMIORead (PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb);
    10011001PDMBOTHCBDECL(int) e1kMMIOWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb);
    10021002PDMBOTHCBDECL(int) e1kIOPortIn (PPDMDEVINS pDevIns, void *pvUser, RTIOPORT port, uint32_t *pu32, unsigned cb);
    10031003PDMBOTHCBDECL(int) e1kIOPortOut(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT port, uint32_t u32, unsigned cb);
    1004 RT_END_DECLS
     1004RT_C_DECLS_END
    10051005
    10061006static int e1kRegReadUnimplemented (E1KSTATE* pState, uint32_t offset, uint32_t index, uint32_t *pu32Value);
  • trunk/src/VBox/Devices/Network/DevINIP.cpp

    r20367 r20374  
    2525*******************************************************************************/
    2626#define LOG_GROUP LOG_GROUP_DEV_INIP
    27 #include <iprt/cdefs.h>     /* include early to allow RT_BEGIN_DECLS hack */
     27#include <iprt/cdefs.h>     /* include early to allow RT_C_DECLS_BEGIN hack */
    2828#include <iprt/mem.h>       /* include anything of ours that the lwip headers use. */
    2929#include <iprt/semaphore.h>
     
    3131#include <iprt/alloca.h>
    3232/* All lwip header files are not C++ safe. So hack around this. */
    33 RT_BEGIN_DECLS
     33RT_C_DECLS_BEGIN
    3434#include "lwip/sys.h"
    3535#include "lwip/stats.h"
     
    4444#include "lwip/sockets.h"
    4545#include "netif/etharp.h"
    46 RT_END_DECLS
     46RT_C_DECLS_END
    4747#include <VBox/pdmdev.h>
    4848#include <VBox/tm.h>
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r20367 r20374  
    11391139}
    11401140
    1141 RT_BEGIN_DECLS
     1141RT_C_DECLS_BEGIN
    11421142PDMBOTHCBDECL(int) pcnetIOPortRead(PPDMDEVINS pDevIns, void *pvUser,
    11431143                                   RTIOPORT Port, uint32_t *pu32, unsigned cb);
     
    11561156                                     RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser);
    11571157#endif
    1158 RT_END_DECLS
     1158RT_C_DECLS_END
    11591159
    11601160#undef htonl
  • trunk/src/VBox/Devices/Network/Pcap.h

    r20367 r20374  
    2525#include <iprt/stream.h>
    2626
    27 RT_BEGIN_DECLS
     27RT_C_DECLS_BEGIN
    2828
    2929int PcapStreamHdr(PRTSTREAM pStream, uint64_t StartNanoTS);
     
    3333int PcapFileFrame(RTFILE File, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax);
    3434
    35 RT_END_DECLS
     35RT_C_DECLS_END
    3636
    3737#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