VirtualBox

Changeset 63215 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 9, 2016 3:03:59 PM (8 years ago)
Author:
vboxsync
Message:

Devices: warnings (gcc)

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  
    6363# define __func__ RT_GCC_EXTENSION __FUNCTION__
    6464# ifndef __inline
     65#  ifdef __GNUC__
     66#  define __inline __inline__
     67# else
    6568#  define __inline
     69# endif
    6670# endif
    6771
  • trunk/src/VBox/Devices/Network/slirp/ext.h

    r62511 r63215  
    1616 */
    1717
    18 # ifndef IN_BSD
     18#ifndef IN_BSD
    1919# define zone_mbuf slirp_zone_mbuf(pData)
    2020# define zone_clust slirp_zone_clust(pData)
     
    5151#ifndef _EXT_H_
    5252#define _EXT_H_
     53
    5354# define fprintf vbox_slirp_fprintf
    5455# 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
     58DECLINLINE(void) vbox_slirp_printV(char *format, va_list args)
    5759{
    5860    char buffer[1024];
     
    6264    LogRel(("NAT:EXT: %s\n", buffer));
    6365}
    64 #endif
     66# endif
    6567
    6668# ifndef vbox_slirp_printf
    67 static void vbox_slirp_printf(char *format, ...)
     69DECLINLINE(void) vbox_slirp_printf(char *format, ...)
    6870{
    6971    va_list args;
     
    7577
    7678# ifndef vbox_slirp_fprintf
    77 static void vbox_slirp_fprintf(void *ignored, char *format, ...)
     79DECLINLINE(void) vbox_slirp_fprintf(void *ignored, char *format, ...)
    7880{
    7981#  ifdef LOG_ENABLED
     
    8991}
    9092# endif
     93
    9194#endif
     95
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette