Changeset 20374 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jun 8, 2009 12:43:21 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r20367 r20374 997 997 998 998 /* Forward declarations ******************************************************/ 999 RT_ BEGIN_DECLS999 RT_C_DECLS_BEGIN 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 RT_ END_DECLS1004 RT_C_DECLS_END 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
r20367 r20374 25 25 *******************************************************************************/ 26 26 #define LOG_GROUP LOG_GROUP_DEV_INIP 27 #include <iprt/cdefs.h> /* include early to allow RT_ BEGIN_DECLShack */27 #include <iprt/cdefs.h> /* include early to allow RT_C_DECLS_BEGIN 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 RT_ BEGIN_DECLS33 RT_C_DECLS_BEGIN 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 RT_ END_DECLS46 RT_C_DECLS_END 47 47 #include <VBox/pdmdev.h> 48 48 #include <VBox/tm.h> -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r20367 r20374 1139 1139 } 1140 1140 1141 RT_ BEGIN_DECLS1141 RT_C_DECLS_BEGIN 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 RT_ END_DECLS1158 RT_C_DECLS_END 1159 1159 1160 1160 #undef htonl -
trunk/src/VBox/Devices/Network/Pcap.h
r20367 r20374 25 25 #include <iprt/stream.h> 26 26 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 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 RT_ END_DECLS35 RT_C_DECLS_END 36 36 37 37 #endif
Note:
See TracChangeset
for help on using the changeset viewer.