Changeset 20367 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jun 8, 2009 12:25:19 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r20087 r20367 997 997 998 998 /* Forward declarations ******************************************************/ 999 __BEGIN_DECLS999 RT_BEGIN_DECLS 1000 1000 PDMBOTHCBDECL(int) e1kMMIORead (PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); 1001 1001 PDMBOTHCBDECL(int) e1kMMIOWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); 1002 1002 PDMBOTHCBDECL(int) e1kIOPortIn (PPDMDEVINS pDevIns, void *pvUser, RTIOPORT port, uint32_t *pu32, unsigned cb); 1003 1003 PDMBOTHCBDECL(int) e1kIOPortOut(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT port, uint32_t u32, unsigned cb); 1004 __END_DECLS1004 RT_END_DECLS 1005 1005 1006 1006 static int e1kRegReadUnimplemented (E1KSTATE* pState, uint32_t offset, uint32_t index, uint32_t *pu32Value); -
trunk/src/VBox/Devices/Network/DevINIP.cpp
r20087 r20367 25 25 *******************************************************************************/ 26 26 #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 */ 28 28 #include <iprt/mem.h> /* include anything of ours that the lwip headers use. */ 29 29 #include <iprt/semaphore.h> … … 31 31 #include <iprt/alloca.h> 32 32 /* All lwip header files are not C++ safe. So hack around this. */ 33 __BEGIN_DECLS33 RT_BEGIN_DECLS 34 34 #include "lwip/sys.h" 35 35 #include "lwip/stats.h" … … 44 44 #include "lwip/sockets.h" 45 45 #include "netif/etharp.h" 46 __END_DECLS46 RT_END_DECLS 47 47 #include <VBox/pdmdev.h> 48 48 #include <VBox/tm.h> -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r20119 r20367 1139 1139 } 1140 1140 1141 __BEGIN_DECLS1141 RT_BEGIN_DECLS 1142 1142 PDMBOTHCBDECL(int) pcnetIOPortRead(PPDMDEVINS pDevIns, void *pvUser, 1143 1143 RTIOPORT Port, uint32_t *pu32, unsigned cb); … … 1156 1156 RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser); 1157 1157 #endif 1158 __END_DECLS1158 RT_END_DECLS 1159 1159 1160 1160 #undef htonl -
trunk/src/VBox/Devices/Network/Pcap.h
r10755 r20367 25 25 #include <iprt/stream.h> 26 26 27 __BEGIN_DECLS27 RT_BEGIN_DECLS 28 28 29 29 int PcapStreamHdr(PRTSTREAM pStream, uint64_t StartNanoTS); … … 33 33 int PcapFileFrame(RTFILE File, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax); 34 34 35 __END_DECLS35 RT_END_DECLS 36 36 37 37 #endif
Note:
See TracChangeset
for help on using the changeset viewer.