VirtualBox

Changeset 101749 in vbox


Ignore:
Timestamp:
Nov 3, 2023 3:45:19 PM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom: Remove prsystem.{c,h} and uxrng.c as they aren't used anywhere, bugref:10545 [build fix]

Location:
trunk/src/libs/xpcom18a4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/VBoxXPCOM-mangled.def

    r98103 r101749  
    574574    _MD_UnlockFile
    575575    _MD_gethostname
    576     _MD_getsysinfo
    577576    _MD_unix_map_accept_error
    578577    _MD_unix_map_access_error
  • trunk/src/libs/xpcom18a4/VBoxXPCOM.def

    r98103 r101749  
    573573    _MD_UnlockFile
    574574    _MD_gethostname
    575     _MD_getsysinfo
    576575    _MD_unix_map_accept_error
    577576    _MD_unix_map_access_error
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_unixos.h

    r46043 r101749  
    484484extern PRStatus _MD_gethostname(char *name, PRUint32 namelen);
    485485#define _MD_GETHOSTNAME         _MD_gethostname
    486 
    487 extern PRStatus _MD_getsysinfo(PRSysInfo cmd, char *name, PRUint32 namelen);
    488 #define _MD_GETSYSINFO          _MD_getsysinfo
    489486
    490487extern int _MD_unix_get_nonblocking_connect_error(int osfd);
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/unix.c

    r86359 r101749  
    34813481}
    34823482
    3483 PR_IMPLEMENT(PRStatus) _MD_getsysinfo(PRSysInfo cmd, char *name, PRUint32 namelen)
    3484 {
    3485         struct utsname info;
    3486 
    3487         PR_ASSERT((cmd == PR_SI_SYSNAME) || (cmd == PR_SI_RELEASE));
    3488 
    3489         if (uname(&info) == -1) {
    3490                 _PR_MD_MAP_DEFAULT_ERROR(errno);
    3491         return PR_FAILURE;
    3492         }
    3493         if (PR_SI_SYSNAME == cmd)
    3494                 (void)PR_snprintf(name, namelen, info.sysname);
    3495         else if (PR_SI_RELEASE == cmd)
    3496                 (void)PR_snprintf(name, namelen, info.release);
    3497         else
    3498                 return PR_FAILURE;
    3499     return PR_SUCCESS;
    3500 }
    3501 
    35023483/*
    35033484 *******************************************************************
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