summaryrefslogtreecommitdiff
path: root/src/s/irix6-5.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-16 19:36:27 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-16 19:36:27 -0700
commit57048744037204ae0cef40cdca9d8a967a4e1407 (patch)
treeb69ab81e4eb48a4f95d911e9ae8a25f7da38a8dd /src/s/irix6-5.h
parent615f2d59a5ee849bc46c3fa57d41fd136f2d0962 (diff)
downloademacs-57048744037204ae0cef40cdca9d8a967a4e1407.tar.gz
* 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/irix6-5.h')
-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();
#define PTY_OPEN \
{ \
struct sigaction ocstat, cstat; \
+ struct stat stb; \
char * name; \
sigemptyset(&cstat.sa_mask); \
cstat.sa_handler = SIG_DFL; \
@@ -95,5 +96,3 @@ char *_getpty();
/* Tested on Irix 6.5. SCM worked on earlier versions. */
#define GC_SETJMP_WORKS 1
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
-
-