VirtualBox

Changeset 103147 in vbox


Ignore:
Timestamp:
Jan 31, 2024 3:08:03 PM (10 months ago)
Author:
vboxsync
Message:

Main: Some warning fixes about externally visible functions which should be static, bugref:3409

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/darwin/NetIf-darwin.cpp

    r98288 r103147  
    166166#define ADVANCE(x, n) (x += (n)->sa_len ? ROUNDUP((n)->sa_len) : sizeof(u_long))
    167167
    168 void extractAddresses(int iAddrMask, caddr_t cp, caddr_t cplim, struct sockaddr **pAddresses)
     168static void extractAddresses(int iAddrMask, caddr_t cp, caddr_t cplim, struct sockaddr **pAddresses)
    169169{
    170170    struct sockaddr *sa;
     
    184184}
    185185
    186 void extractAddressesToNetInfo(int iAddrMask, caddr_t cp, caddr_t cplim, PNETIFINFO pInfo)
     186static void extractAddressesToNetInfo(int iAddrMask, caddr_t cp, caddr_t cplim, PNETIFINFO pInfo)
    187187{
    188188    struct sockaddr *addresses[RTAX_MAX];
  • trunk/src/VBox/Main/testcase/tstSettings.cpp

    r101403 r103147  
    5757 * @note    The source configuration file will not be modified (i.e. written to disk).
    5858 */
    59 void tstFileSingle(const Utf8Str &strFileSrc)
     59static void tstFileSingle(const Utf8Str &strFileSrc)
    6060{
    6161    RTTestIPrintf(RTTESTLVL_ALWAYS, "Testing file: %s\n", strFileSrc.c_str());
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