diff options
Diffstat (limited to 'nsprpub/pr/src/memory/prshma.c')
-rw-r--r-- | nsprpub/pr/src/memory/prshma.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nsprpub/pr/src/memory/prshma.c b/nsprpub/pr/src/memory/prshma.c index c73d7ec16..830b6df51 100644 --- a/nsprpub/pr/src/memory/prshma.c +++ b/nsprpub/pr/src/memory/prshma.c @@ -6,7 +6,7 @@ /* ** prshma.h -- NSPR Anonymous Shared Memory ** -** +** */ #include "primpl.h" @@ -42,7 +42,7 @@ extern PRFileMap * _PR_MD_IMPORT_FILE_MAP_FROM_STRING(const char *fmstring) PR_IMPLEMENT(PRFileMap*) PR_OpenAnonFileMap( const char *dirName, - PRSize size, + PRSize size, PRFileMapProtect prot ) { @@ -50,21 +50,21 @@ PR_OpenAnonFileMap( } /* end PR_OpenAnonFileMap() */ /* -** PR_ProcessAttrSetInheritableFileMap() -- Prepare FileMap for export +** PR_ProcessAttrSetInheritableFileMap() -- Prepare FileMap for export ** to my children processes via PR_CreateProcess() ** ** */ -PR_IMPLEMENT( PRStatus) -PR_ProcessAttrSetInheritableFileMap( +PR_IMPLEMENT( PRStatus) +PR_ProcessAttrSetInheritableFileMap( PRProcessAttr *attr, - PRFileMap *fm, + PRFileMap *fm, const char *shmname ) { PR_SetError( PR_NOT_IMPLEMENTED_ERROR, 0 ); return( PR_FAILURE); -} /* end PR_ProcessAttrSetInheritableFileMap() */ +} /* end PR_ProcessAttrSetInheritableFileMap() */ /* ** PR_GetInheritedFileMap() -- Import a PRFileMap previously exported @@ -72,8 +72,8 @@ PR_ProcessAttrSetInheritableFileMap( ** */ PR_IMPLEMENT( PRFileMap *) -PR_GetInheritedFileMap( - const char *shmname +PR_GetInheritedFileMap( + const char *shmname ) { PRFileMap *fm = NULL; @@ -86,7 +86,7 @@ PR_GetInheritedFileMap( ** */ PR_IMPLEMENT( PRStatus ) -PR_ExportFileMapAsString( +PR_ExportFileMapAsString( PRFileMap *fm, PRSize bufSize, char *buf @@ -101,7 +101,7 @@ PR_ExportFileMapAsString( ** */ PR_IMPLEMENT( PRFileMap * ) -PR_ImportFileMapFromString( +PR_ImportFileMapFromString( const char *fmstring ) { |