Changeset 63217 in vbox for trunk/src/VBox
- Timestamp:
- Aug 9, 2016 3:12:08 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bsd/kern/kern_mbuf.c
r63015 r63217 256 256 #endif 257 257 258 static void mb_reclaim(void *); 258 /*static void mb_reclaim(void *); - unused */ 259 259 #ifndef VBOX 260 260 static void mbuf_init(void *); … … 796 796 } 797 797 798 #if 0 /* unused */ 798 799 /* 799 800 * This is the protocol drain routine. … … 821 822 #endif 822 823 } 824 #endif /* unused */ -
trunk/src/VBox/Devices/Network/slirp/hostres.c
r63014 r63217 146 146 static void strnlabels(char *namebuf, size_t nbuflen, const uint8_t *msg, size_t off); 147 147 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 */ 149 149 static void free_labels(struct label *root); 150 150 … … 1305 1305 1306 1306 1307 #if 0 /* unused */ 1307 1308 static void 1308 1309 LogLabelsTree(const char *before, struct label *l, const char *after) … … 1349 1350 LogDbg(("%s", after)); 1350 1351 } 1352 #endif /* unused */ 1351 1353 1352 1354 -
trunk/src/VBox/Devices/Network/slirp/libalias/alias.c
r63014 r63217 162 162 uint8_t *c = p; 163 163 164 #ifdef RT_LITTLE_ENDIAN / /BYTE_ORDER == LITTLE_ENDIAN164 #ifdef RT_LITTLE_ENDIAN /*BYTE_ORDER == LITTLE_ENDIAN*/ 165 165 uint16_t s1 = ((uint16_t)c[1] << 8) + (uint16_t)c[0]; 166 166 uint16_t s2 = ((uint16_t)c[3] << 8) + (uint16_t)c[2]; -
trunk/src/VBox/Devices/Network/slirp/resolv_conf_parser.c
r62463 r63217 111 111 size_t cbSearchBuf; 112 112 uint32_t flags; 113 #ifdef RCP_ACCEPT_PORT /* OS X extention */ 113 114 uint32_t default_port = RTNETADDR_PORT_NA; 115 #endif 114 116 unsigned i; 115 117 int rc; -
trunk/src/VBox/Devices/Network/slirp/slirp_dns.c
r63012 r63217 33 33 static int get_dns_addr_domain(PNATState pData) 34 34 { 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 */ 36 36 PIP_ADAPTER_ADDRESSES pAdapterAddr = NULL; 37 37 PIP_ADAPTER_ADDRESSES pAddr = NULL; -
trunk/src/VBox/Devices/Storage/DrvSCSIHost.cpp
r62956 r63217 362 362 static DECLCALLBACK(int) drvscsihostAsyncIOLoopWakeup(PPDMDRVINS pDrvIns, PPDMTHREAD pThread) 363 363 { 364 int rc;364 RT_NOREF(pThread); 365 365 PDRVSCSIHOST pThis = PDMINS_2_DATA(pDrvIns, PDRVSCSIHOST); 366 366 PRTREQ pReq; … … 368 368 AssertReturn(pThis->hQueueRequests != NIL_RTREQQUEUE, VERR_INVALID_STATE); 369 369 370 rc = RTReqQueueCall(pThis->hQueueRequests, &pReq, 10000 /* 10 sec. */, (PFNRT)drvscsihostAsyncIOLoopWakeupFunc, 0);370 int rc = RTReqQueueCall(pThis->hQueueRequests, &pReq, 10000 /* 10 sec. */, (PFNRT)drvscsihostAsyncIOLoopWakeupFunc, 0); 371 371 AssertMsgRC(rc, ("Inserting request into queue failed rc=%Rrc\n", rc)); 372 372 … … 446 446 static DECLCALLBACK(int) drvscsihostConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 447 447 { 448 RT_NOREF(fFlags); 449 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 448 450 PDRVSCSIHOST pThis = PDMINS_2_DATA(pDrvIns, PDRVSCSIHOST); 449 451 LogFlowFunc(("pDrvIns=%#p pCfg=%#p\n", pDrvIns, pCfg)); 450 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);451 452 452 453 /* -
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r62956 r63217 416 416 static int usbProxyLinuxFindActiveConfigUsbfs(PUSBPROXYDEV pProxyDev, const char *pszDevNode, int *piFirstCfg) 417 417 { 418 RT_NOREF(pProxyDev); 419 418 420 /* 419 421 * Set return defaults. … … 1278 1280 static int usbProxyLinuxSubmitURB(PUSBPROXYDEV pProxyDev, PUSBPROXYURBLNX pCur, PVUSBURB pUrb, bool *pfUnplugged) 1279 1281 { 1280 int rc = VINF_SUCCESS;1281 1282 PUSBPROXYDEVLNX pDevLnx = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVLNX); 1282 1283 unsigned cTries = 0;
Note:
See TracChangeset
for help on using the changeset viewer.