aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorPaul Eggert2011-03-16 19:36:27 -0700
committerPaul Eggert2011-03-16 19:36:27 -0700
commit57048744037204ae0cef40cdca9d8a967a4e1407 (patch)
treeb69ab81e4eb48a4f95d911e9ae8a25f7da38a8dd /src/s
parent615f2d59a5ee849bc46c3fa57d41fd136f2d0962 (diff)
downloademacs-57048744037204ae0cef40cdca9d8a967a4e1407.tar.gz
emacs-57048744037204ae0cef40cdca9d8a967a4e1407.zip
* s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.
* process.c (allocate_pty): Don't declare stb unless it's needed.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/irix6-5.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 92465ded2ef..d283571d8fb 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -60,6 +60,7 @@ char *_getpty();
60#define PTY_OPEN \ 60#define PTY_OPEN \
61{ \ 61{ \
62 struct sigaction ocstat, cstat; \ 62 struct sigaction ocstat, cstat; \
63 struct stat stb; \
63 char * name; \ 64 char * name; \
64 sigemptyset(&cstat.sa_mask); \ 65 sigemptyset(&cstat.sa_mask); \
65 cstat.sa_handler = SIG_DFL; \ 66 cstat.sa_handler = SIG_DFL; \
@@ -95,5 +96,3 @@ char *_getpty();
95/* Tested on Irix 6.5. SCM worked on earlier versions. */ 96/* Tested on Irix 6.5. SCM worked on earlier versions. */
96#define GC_SETJMP_WORKS 1 97#define GC_SETJMP_WORKS 1
97#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 98#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
98
99