Changeset 20374 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin
- Timestamp:
- Jun 8, 2009 12:43:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp
r20366 r20374 58 58 #include <sys/kern_event.h> 59 59 #include <net/kpi_interface.h> 60 RT_ BEGIN_DECLS/* Buggy 10.4 headers, fixed in 10.5. */60 RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */ 61 61 #include <sys/kpi_mbuf.h> 62 62 #include <net/kpi_interfacefilter.h> 63 RT_ END_DECLS63 RT_C_DECLS_END 64 64 #include <net/if.h> 65 65 … … 84 84 * Internal Functions * 85 85 *******************************************************************************/ 86 RT_ BEGIN_DECLS86 RT_C_DECLS_BEGIN 87 87 static kern_return_t VBoxNetFltDarwinStart(struct kmod_info *pKModInfo, void *pvData); 88 88 static kern_return_t VBoxNetFltDarwinStop(struct kmod_info *pKModInfo, void *pvData); 89 RT_ END_DECLS89 RT_C_DECLS_END 90 90 91 91 … … 118 118 * Declare the module stuff. 119 119 */ 120 RT_ BEGIN_DECLS120 RT_C_DECLS_BEGIN 121 121 extern kern_return_t _start(struct kmod_info *pKModInfo, void *pvData); 122 122 extern kern_return_t _stop(struct kmod_info *pKModInfo, void *pvData); … … 126 126 DECLHIDDEN(kmod_stop_func_t *) _antimain = VBoxNetFltDarwinStop; 127 127 DECLHIDDEN(int) _kext_apple_cc = __APPLE_CC__; 128 RT_ END_DECLS128 RT_C_DECLS_END 129 129 130 130
Note:
See TracChangeset
for help on using the changeset viewer.