Bugzilla bug 132940: need to declare the sendfile error mapping function. NSPR_4_2_RC2
authorwtc%netscape.com
Fri, 29 Mar 2002 22:53:38 +0000
changeset 2315 7a43a7a1f5aebe9dcdab1037582d8521474cb2da
parent 2314 ba1e15124cafee02200f08605d82afab11c62da9
child 2316 2527334857fdda71af1a5b2a0398d53ff887a90a
push idunknown
push userunknown
push dateunknown
bugs132940
Bugzilla bug 132940: need to declare the sendfile error mapping function. Modified files: _aix.h _solaris.h
pr/include/md/_aix.h
pr/include/md/_solaris.h
--- a/pr/include/md/_aix.h
+++ b/pr/include/md/_aix.h
@@ -238,9 +238,11 @@ struct _MDCPU {
 #define _MD_CLEAN_THREAD(_thread)
 #endif /* PTHREADS_USER */
 
 #ifdef AIX_RENAME_SELECT
 #define _MD_SELECT	select
 #define _MD_POLL	poll
 #endif
 
+extern void _MD_aix_map_sendfile_error(int err);
+
 #endif /* nspr_aix_defs_h___ */
--- a/pr/include/md/_solaris.h
+++ b/pr/include/md/_solaris.h
@@ -779,10 +779,12 @@ PR_BEGIN_EXTERN_C
 ** Missing function prototypes
 */
 extern int gethostname (char *name, int namelen);
 
 PR_END_EXTERN_C
 
 #endif /* _PR_GLOBAL_THREADS_ONLY */
 
+extern void _MD_solaris_map_sendfile_error(int err);
+
 #endif /* nspr_solaris_defs_h___ */