summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-09-19 01:00:52 +0000
committerwtc%netscape.com <devnull@localhost>1998-09-19 01:00:52 +0000
commita486957de2d577db2e3297b5de2a9181bbae80c4 (patch)
treebcfdea83c4595f5108838d6a55982cf0c61c236b
parentae7a4e1dc82b93bbd642aa9c1e8a5a9b9dd05937 (diff)
downloadnspr-hg-a486957de2d577db2e3297b5de2a9181bbae80c4.tar.gz
Moved the obsolete function PR_SetStdioRedirect from probslet.h
back to prproces.h because we don't want to break source compatibility in this release.
-rw-r--r--pr/include/obsolete/probslet.h7
-rw-r--r--pr/include/prproces.h9
2 files changed, 9 insertions, 7 deletions
diff --git a/pr/include/obsolete/probslet.h b/pr/include/obsolete/probslet.h
index 0b7d83bb..5b53d3bc 100644
--- a/pr/include/obsolete/probslet.h
+++ b/pr/include/obsolete/probslet.h
@@ -25,7 +25,6 @@
#define PROBSLET_H
#include "prio.h"
-#include "prproces.h"
PR_BEGIN_EXTERN_C
@@ -219,12 +218,6 @@ PR_EXTERN(PRStatus) PR_GetHostName(char *name, PRUint32 namelen);
*/
PR_EXTERN(const char *) PR_GetErrorString(void);
-PR_EXTERN(void) PR_SetStdioRedirect(
- PRProcessAttr *attr,
- PRSpecialFD stdioFd,
- PRFileDesc *redirectFd
-);
-
PR_END_EXTERN_C
#endif /* defined(PROBSLET_H) */
diff --git a/pr/include/prproces.h b/pr/include/prproces.h
index a8e89533..55c64d7f 100644
--- a/pr/include/prproces.h
+++ b/pr/include/prproces.h
@@ -43,6 +43,15 @@ PR_EXTERN(void) PR_ProcessAttrSetStdioRedirect(
PRFileDesc *redirectFd
);
+/*
+ * OBSOLETE -- use PR_ProcessAttrSetStdioRedirect instead.
+ */
+PR_EXTERN(void) PR_SetStdioRedirect(
+ PRProcessAttr *attr,
+ PRSpecialFD stdioFd,
+ PRFileDesc *redirectFd
+);
+
PR_EXTERN(PRStatus) PR_ProcessAttrSetCurrentDirectory(
PRProcessAttr *attr,
const char *dir