VirtualBox

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


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

Devices: warnings (gcc)

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/kern/kern_mbuf.c

    r63015 r63217  
    256256#endif
    257257
    258 static void     mb_reclaim(void *);
     258/*static void   mb_reclaim(void *); - unused */
    259259#ifndef VBOX
    260260static void     mbuf_init(void *);
     
    796796}
    797797
     798#if 0 /* unused */
    798799/*
    799800 * This is the protocol drain routine.
     
    821822#endif
    822823}
     824#endif /* unused */
  • trunk/src/VBox/Devices/Network/slirp/hostres.c

    r63014 r63217  
    146146static void strnlabels(char *namebuf, size_t nbuflen, const uint8_t *msg, size_t off);
    147147
    148 static void LogLabelsTree(const char *before, struct label *l, const char *after);
     148/*static void LogLabelsTree(const char *before, struct label *l, const char *after); - unused */
    149149static void free_labels(struct label *root);
    150150
     
    13051305
    13061306
     1307#if 0 /* unused */
    13071308static void
    13081309LogLabelsTree(const char *before, struct label *l, const char *after)
     
    13491350        LogDbg(("%s", after));
    13501351}
     1352#endif /* unused */
    13511353
    13521354
  • trunk/src/VBox/Devices/Network/slirp/libalias/alias.c

    r63014 r63217  
    162162    uint8_t *c = p;
    163163
    164 #ifdef RT_LITTLE_ENDIAN //BYTE_ORDER == LITTLE_ENDIAN
     164#ifdef RT_LITTLE_ENDIAN /*BYTE_ORDER == LITTLE_ENDIAN*/
    165165    uint16_t s1 = ((uint16_t)c[1] << 8) + (uint16_t)c[0];
    166166    uint16_t s2 = ((uint16_t)c[3] << 8) + (uint16_t)c[2];
  • trunk/src/VBox/Devices/Network/slirp/resolv_conf_parser.c

    r62463 r63217  
    111111    size_t cbSearchBuf;
    112112    uint32_t flags;
     113#ifdef RCP_ACCEPT_PORT /* OS X extention */
    113114    uint32_t default_port = RTNETADDR_PORT_NA;
     115#endif
    114116    unsigned i;
    115117    int rc;
  • trunk/src/VBox/Devices/Network/slirp/slirp_dns.c

    r63012 r63217  
    3333static int get_dns_addr_domain(PNATState pData)
    3434{
    35     //ULONG flags = GAA_FLAG_INCLUDE_PREFIX; /*GAA_FLAG_INCLUDE_ALL_INTERFACES;*/ /* all interfaces registered in NDIS */
     35    /*ULONG flags = GAA_FLAG_INCLUDE_PREFIX;*/ /*GAA_FLAG_INCLUDE_ALL_INTERFACES;*/ /* all interfaces registered in NDIS */
    3636    PIP_ADAPTER_ADDRESSES pAdapterAddr = NULL;
    3737    PIP_ADAPTER_ADDRESSES pAddr = NULL;
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