Changeset 63215 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 9, 2016 3:03:59 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bsd/sys/mbuf.h
r62696 r63215 63 63 # define __func__ RT_GCC_EXTENSION __FUNCTION__ 64 64 # ifndef __inline 65 # ifdef __GNUC__ 66 # define __inline __inline__ 67 # else 65 68 # define __inline 69 # endif 66 70 # endif 67 71 -
trunk/src/VBox/Devices/Network/slirp/ext.h
r62511 r63215 16 16 */ 17 17 18 # 18 #ifndef IN_BSD 19 19 # define zone_mbuf slirp_zone_mbuf(pData) 20 20 # define zone_clust slirp_zone_clust(pData) … … 51 51 #ifndef _EXT_H_ 52 52 #define _EXT_H_ 53 53 54 # define fprintf vbox_slirp_fprintf 54 55 # define printf vbox_slirp_printf 55 #ifndef vbox_slirp_printfV 56 static void vbox_slirp_printV(char *format, va_list args) 56 57 # ifndef vbox_slirp_printfV 58 DECLINLINE(void) vbox_slirp_printV(char *format, va_list args) 57 59 { 58 60 char buffer[1024]; … … 62 64 LogRel(("NAT:EXT: %s\n", buffer)); 63 65 } 64 # endif66 # endif 65 67 66 68 # ifndef vbox_slirp_printf 67 static voidvbox_slirp_printf(char *format, ...)69 DECLINLINE(void) vbox_slirp_printf(char *format, ...) 68 70 { 69 71 va_list args; … … 75 77 76 78 # ifndef vbox_slirp_fprintf 77 static voidvbox_slirp_fprintf(void *ignored, char *format, ...)79 DECLINLINE(void) vbox_slirp_fprintf(void *ignored, char *format, ...) 78 80 { 79 81 # ifdef LOG_ENABLED … … 89 91 } 90 92 # endif 93 91 94 #endif 95
Note:
See TracChangeset
for help on using the changeset viewer.