VirtualBox

Changeset 101843 in vbox


Ignore:
Timestamp:
Nov 5, 2023 7:13:11 PM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom: Remove unused prshm.{c,h} and uxshm.c files and associated code, bugref:10545

Location:
trunk/src/libs/xpcom18a4
Files:
3 deleted
3 edited

Legend:

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

    r101841 r101843  
    191191        nsprpub/pr/include/prprf.h \
    192192        nsprpub/pr/include/prproces.h \
    193         nsprpub/pr/include/prshm.h \
    194193        nsprpub/pr/include/prsystem.h \
    195194        nsprpub/pr/include/prthread.h \
     
    507506        nsprpub/pr/src/linking/prlink.c \
    508507        nsprpub/pr/src/md/prosdep.c \
    509         nsprpub/pr/src/memory/prshm.c \
    510508        nsprpub/pr/src/misc/pratom.c \
    511509        nsprpub/pr/src/misc/prdtoa.c \
     
    538536        nsprpub/pr/src/md/unix/unix.c \
    539537        nsprpub/pr/src/md/unix/unix_errors.c \
    540         nsprpub/pr/src/md/unix/uxshm.c \
    541538        nsprpub/pr/src/pthreads/ptio.c \
    542539        nsprpub/pr/src/pthreads/ptsynch.c \
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/nspr.h

    r101841 r101843  
    6060#include "prprf.h"
    6161#include "prproces.h"
    62 #include "prshm.h"
    6362#include "prsystem.h"
    6463#include "prthread.h"
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h

    r101841 r101843  
    702702#define _PR_MD_CLOSE_FILE_MAP _MD_CLOSE_FILE_MAP
    703703
    704 /* Named Shared Memory */
    705 
    706 /*
    707 ** Declare PRSharedMemory.
    708 */
    709 struct PRSharedMemory
    710 {
    711     char        *ipcname; /* after conversion to native */
    712     PRSize      size;  /* from open */
    713     PRIntn      mode;  /* from open */
    714     PRIntn      flags; /* from open */
    715 #if defined(PR_HAVE_POSIX_NAMED_SHARED_MEMORY)
    716     int         id;
    717 #elif defined(PR_HAVE_SYSV_NAMED_SHARED_MEMORY)
    718     int         id;
    719 #elif defined(PR_HAVE_WIN32_NAMED_SHARED_MEMORY)
    720     HANDLE      handle;
    721 #else
    722     PRUint32    nothing; /* placeholder, nothing behind here */
    723 #endif
    724     PRUint32    ident; /* guard word at end of struct */
    725 #define _PR_SHM_IDENT 0xdeadbad
    726 };
    727 
    728 extern PRSharedMemory * _MD_OpenSharedMemory(
    729     const char *name,
    730     PRSize      size,
    731     PRIntn      flags,
    732     PRIntn      mode
    733 );
    734 #define _PR_MD_OPEN_SHARED_MEMORY _MD_OpenSharedMemory
    735 
    736 extern void * _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags );
    737 #define _PR_MD_ATTACH_SHARED_MEMORY _MD_AttachSharedMemory
    738 
    739 extern PRStatus _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr );
    740 #define _PR_MD_DETACH_SHARED_MEMORY _MD_DetachSharedMemory
    741 
    742 extern PRStatus _MD_CloseSharedMemory( PRSharedMemory *shm );
    743 #define _PR_MD_CLOSE_SHARED_MEMORY _MD_CloseSharedMemory
    744 
    745 extern PRStatus _MD_DeleteSharedMemory( const char *name );
    746 #define _PR_MD_DELETE_SHARED_MEMORY  _MD_DeleteSharedMemory
    747 
    748 
    749704
    750705/* Interprocess communications (IPC) */
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