summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsdagley%netscape.com <devnull@localhost>2000-01-28 04:00:28 +0000
committersdagley%netscape.com <devnull@localhost>2000-01-28 04:00:28 +0000
commit5a3057ee7b82b87559ebe33ce908376f3f4aba57 (patch)
tree2d4bc82f598043e932accc67f621c97337fd74fd
parent0270d6f2ddd3bba2ade6b94f39dea91198d1de60 (diff)
downloadnspr-hg-5a3057ee7b82b87559ebe33ce908376f3f4aba57.tar.gz
Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in.
-rw-r--r--pr/include/private/pprio.h9
-rw-r--r--pr/include/prlog.h6
2 files changed, 9 insertions, 6 deletions
diff --git a/pr/include/private/pprio.h b/pr/include/private/pprio.h
index 37877ea3..78d2cefb 100644
--- a/pr/include/private/pprio.h
+++ b/pr/include/private/pprio.h
@@ -229,6 +229,15 @@ NSPR_API(PRStatus) PR_NT_CancelIo(PRFileDesc *fd);
#endif /* WIN32 */
+/*
+** Need external access to this on Mac so we can first set up our faux
+** environment vars
+*/
+#ifdef XP_MAC
+NSPR_API(void) PR_Init_Log(void);
+#endif
+
+
PR_END_EXTERN_C
#endif /* pprio_h___ */
diff --git a/pr/include/prlog.h b/pr/include/prlog.h
index 19abcb96..7e242c0c 100644
--- a/pr/include/prlog.h
+++ b/pr/include/prlog.h
@@ -170,12 +170,6 @@ NSPR_API(void) PR_LogPrint(const char *fmt, ...);
*/
NSPR_API(void) PR_LogFlush(void);
-/* Need external access to this on Mac so we can first set up our faux environment vars */
-#ifdef XP_MAC
-NSPR_API(void) PR_Init_Log(void);
-#endif
-
-
/*
** Windoze 16 can't support a large static string space for all of the
** various debugging strings so logging is not enabled for it.