VirtualBox

Changeset 101751 in vbox


Ignore:
Timestamp:
Nov 3, 2023 3:55:10 PM (13 months ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/libs/xpcom18a4
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r101748 r101751  
    198198        nsprpub/pr/include/prshm.h \
    199199        nsprpub/pr/include/prshma.h \
     200        nsprpub/pr/include/prsystem.h \
    200201        nsprpub/pr/include/prthread.h \
    201202        nsprpub/pr/include/prtime.h \
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/nspr.h

    r101748 r101751  
    6565#include "prshm.h"
    6666#include "prshma.h"
     67#include "prsystem.h"
    6768#include "prthread.h"
    6869#include "prtime.h"
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prsystem.h

    r101747 r101751  
    4545
    4646#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
    47 #define PR_GetDirectorySeparator VBoxNsprPR_GetDirectorySeparator
    48 #define PR_GetDirectorySepartor VBoxNsprPR_GetDirectorySepartor
    49 #define PR_GetPathSeparator VBoxNsprPR_GetPathSeparator
    50 #define PR_GetSystemInfo VBoxNsprPR_GetSystemInfo
    5147#define PR_GetPageSize VBoxNsprPR_GetPageSize
    5248#define PR_GetPageShift VBoxNsprPR_GetPageShift
    53 #define PR_GetNumberOfProcessors VBoxNsprPR_GetNumberOfProcessors
    5449#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5550
    5651PR_BEGIN_EXTERN_C
    57 
    58 /*
    59 ** Get the host' directory separator.
    60 **  Pathnames are then assumed to be of the form:
    61 **      [<sep><root_component><sep>]*(<component><sep>)<leaf_name>
    62 */
    63 
    64 NSPR_API(char) PR_GetDirectorySeparator(void);
    65 
    66 /*
    67 ** OBSOLETE -- the function name is misspelled.
    68 ** Use PR_GetDirectorySeparator instead.
    69 */
    70 
    71 NSPR_API(char) PR_GetDirectorySepartor(void);
    72 
    73 /*
    74 ** Get the host' path separator.
    75 **  Paths are assumed to be of the form:
    76 **      <directory>[<sep><directory>]*
    77 */
    78 
    79 NSPR_API(char) PR_GetPathSeparator(void);
    80 
    81 /* Types of information available via PR_GetSystemInfo(...) */
    82 typedef enum {
    83     PR_SI_HOSTNAME,
    84     PR_SI_SYSNAME,
    85     PR_SI_RELEASE,
    86     PR_SI_ARCHITECTURE
    87 } PRSysInfo;
    88 
    89 
    90 /*
    91 ** If successful returns a null termintated string in 'buf' for
    92 ** the information indicated in 'cmd'. If unseccussful the reason for
    93 ** the failure can be retrieved from PR_GetError().
    94 **
    95 ** The buffer is allocated by the caller and should be at least
    96 ** SYS_INFO_BUFFER_LENGTH bytes in length.
    97 */
    98 
    99 #define SYS_INFO_BUFFER_LENGTH 256
    100 
    101 NSPR_API(PRStatus) PR_GetSystemInfo(PRSysInfo cmd, char *buf, PRUint32 buflen);
    10252
    10353/*
     
    11161NSPR_API(PRInt32) PR_GetPageShift(void);
    11262
    113 /*
    114 ** PR_GetNumberOfProcessors() -- returns the number of CPUs
    115 **
    116 ** Description:
    117 ** PR_GetNumberOfProcessors() extracts the number of processors
    118 ** (CPUs available in an SMP system) and returns the number.
    119 **
    120 ** Parameters:
    121 **   none
    122 **
    123 ** Returns:
    124 **   The number of available processors or -1 on error
    125 **
    126 */
    127 NSPR_API(PRInt32) PR_GetNumberOfProcessors( void );
    128 
    12963PR_END_EXTERN_C
    13064
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