diff options
author | wtc <devnull@localhost> | 1998-04-13 22:22:43 +0000 |
---|---|---|
committer | wtc <devnull@localhost> | 1998-04-13 22:22:43 +0000 |
commit | 6a22fef71bf5c81090e9a23c3f2f75e0b1060683 (patch) | |
tree | 470c2fbc9f6c0806d89f7df7fdf14429186d6ebf | |
parent | 22d8b88e7639e073dfe7ee7d4b2c535d4c9cf802 (diff) | |
download | nspr-hg-6a22fef71bf5c81090e9a23c3f2f75e0b1060683.tar.gz |
Added function declarations to eliminate compiler warnings.
-rw-r--r-- | pr/include/md/_unixos.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pr/include/md/_unixos.h b/pr/include/md/_unixos.h index d54529f4..e6d1a4f2 100644 --- a/pr/include/md/_unixos.h +++ b/pr/include/md/_unixos.h @@ -147,6 +147,7 @@ extern void _MD_unix_init_running_cpu(struct _PRCPU *cpu); */ #if defined(DEBUG) #if !defined(SOLARIS) +#include <string.h> /* for memset() */ #define _MD_INIT_STACK(ts,REDZONE) \ PR_BEGIN_MACRO \ (void) mprotect((void*)ts->seg->vaddr, REDZONE, PROT_NONE); \ @@ -309,6 +310,7 @@ extern char * _MD_read_dir(struct _MDDir *, PRIntn); extern PRInt32 _MD_open(const char *name, PRIntn osflags, PRIntn mode); extern PRInt32 _MD_delete(const char *name); extern PRInt32 _MD_getfileinfo(const char *fn, PRFileInfo *info); +extern PRInt32 _MD_getfileinfo64(const char *fn, PRFileInfo64 *info); extern PRInt32 _MD_getopenfileinfo(const PRFileDesc *fd, PRFileInfo *info); extern PRInt32 _MD_getopenfileinfo64(const PRFileDesc *fd, PRFileInfo64 *info); extern PRInt32 _MD_rename(const char *from, const char *to); |