VirtualBox

Changeset 52684 in vbox


Ignore:
Timestamp:
Sep 10, 2014 5:07:44 PM (10 years ago)
Author:
vboxsync
Message:

NAT: clean up an #ifdef in HouseKeeping() to avoid duplication of code
and to make it clear that the comment that was hidden undef !VBOX
still applies in VBOX case.

Same object code is generated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/libalias/alias_db.c

    r52683 r52684  
    23832383    struct timezone tz;
    23842384#endif
     2385#endif /* !VBOX */
    23852386
    23862387    LIBALIAS_LOCK_ASSERT(la);
     
    23902391     * waste timeline by making system calls.
    23912392     */
     2393#ifndef VBOX
    23922394#ifdef  _KERNEL
    23932395    la->timeStamp = time_uptime;
     
    23972399#endif
    23982400#else  /* VBOX */
    2399     LIBALIAS_LOCK_ASSERT(la);
    24002401    la->timeStamp = la->curtime;
    24012402#endif
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