VirtualBox

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


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

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

Location:
trunk/src/VBox/Devices/Network
Files:
4 edited

Legend:

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

    r20087 r20367  
    997997
    998998/* Forward declarations ******************************************************/
    999 __BEGIN_DECLS
     999RT_BEGIN_DECLS
    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 __END_DECLS
     1004RT_END_DECLS
    10051005
    10061006static int e1kRegReadUnimplemented (E1KSTATE* pState, uint32_t offset, uint32_t index, uint32_t *pu32Value);
  • trunk/src/VBox/Devices/Network/DevINIP.cpp

    r20087 r20367  
    2525*******************************************************************************/
    2626#define LOG_GROUP LOG_GROUP_DEV_INIP
    27 #include <iprt/cdefs.h>     /* include early to allow __BEGIN_DECLS hack */
     27#include <iprt/cdefs.h>     /* include early to allow RT_BEGIN_DECLS 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 __BEGIN_DECLS
     33RT_BEGIN_DECLS
    3434#include "lwip/sys.h"
    3535#include "lwip/stats.h"
     
    4444#include "lwip/sockets.h"
    4545#include "netif/etharp.h"
    46 __END_DECLS
     46RT_END_DECLS
    4747#include <VBox/pdmdev.h>
    4848#include <VBox/tm.h>
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r20119 r20367  
    11391139}
    11401140
    1141 __BEGIN_DECLS
     1141RT_BEGIN_DECLS
    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 __END_DECLS
     1158RT_END_DECLS
    11591159
    11601160#undef htonl
  • trunk/src/VBox/Devices/Network/Pcap.h

    r10755 r20367  
    2525#include <iprt/stream.h>
    2626
    27 __BEGIN_DECLS
     27RT_BEGIN_DECLS
    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 __END_DECLS
     35RT_END_DECLS
    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