Changeset 20374 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin
- Timestamp:
- Jun 8, 2009 12:43:21 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48298
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp
r20366 r20374 45 45 46 46 #include <sys/systm.h> 47 RT_ BEGIN_DECLS/* Buggy 10.4 headers, fixed in 10.5. */47 RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */ 48 48 #include <sys/kpi_mbuf.h> 49 RT_ END_DECLS49 RT_C_DECLS_END 50 50 51 51 #include <net/ethernet.h> … … 96 96 * Internal Functions * 97 97 *******************************************************************************/ 98 RT_ BEGIN_DECLS98 RT_C_DECLS_BEGIN 99 99 static kern_return_t VBoxNetAdpDarwinStart(struct kmod_info *pKModInfo, void *pvData); 100 100 static kern_return_t VBoxNetAdpDarwinStop(struct kmod_info *pKModInfo, void *pvData); 101 RT_ END_DECLS101 RT_C_DECLS_END 102 102 103 103 static int VBoxNetAdpDarwinOpen(dev_t Dev, int fFlags, int fDevType, struct proc *pProcess); … … 111 111 * Declare the module stuff. 112 112 */ 113 RT_ BEGIN_DECLS113 RT_C_DECLS_BEGIN 114 114 extern kern_return_t _start(struct kmod_info *pKModInfo, void *pvData); 115 115 extern kern_return_t _stop(struct kmod_info *pKModInfo, void *pvData); … … 119 119 DECLHIDDEN(kmod_stop_func_t *) _antimain = VBoxNetAdpDarwinStop; 120 120 DECLHIDDEN(int) _kext_apple_cc = __APPLE_CC__; 121 RT_ END_DECLS121 RT_C_DECLS_END 122 122 123 123 /**
Note:
See TracChangeset
for help on using the changeset viewer.