diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 8d0bd3df9cc..06fbd2b7d0f 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -118,6 +118,12 @@ struct utimbuf { | |||
| 118 | #endif | 118 | #endif |
| 119 | #endif | 119 | #endif |
| 120 | 120 | ||
| 121 | static int emacs_get_tty (int, struct emacs_tty *); | ||
| 122 | static int emacs_set_tty (int, struct emacs_tty *, int); | ||
| 123 | #if defined TIOCNOTTY || defined USG5 || defined CYGWIN | ||
| 124 | static void croak (char *) NO_RETURN; | ||
| 125 | #endif | ||
| 126 | |||
| 121 | /* Declare here, including term.h is problematic on some systems. */ | 127 | /* Declare here, including term.h is problematic on some systems. */ |
| 122 | extern void tputs (const char *, int, int (*)(int)); | 128 | extern void tputs (const char *, int, int (*)(int)); |
| 123 | 129 | ||
| @@ -127,12 +133,6 @@ static const int baud_convert[] = | |||
| 127 | 1800, 2400, 4800, 9600, 19200, 38400 | 133 | 1800, 2400, 4800, 9600, 19200, 38400 |
| 128 | }; | 134 | }; |
| 129 | 135 | ||
| 130 | void croak (char *) NO_RETURN; | ||
| 131 | |||
| 132 | /* Temporary used by `sigblock' when defined in terms of signprocmask. */ | ||
| 133 | |||
| 134 | SIGMASKTYPE sigprocmask_set; | ||
| 135 | |||
| 136 | 136 | ||
| 137 | #if !defined (HAVE_GET_CURRENT_DIR_NAME) || defined (BROKEN_GET_CURRENT_DIR_NAME) | 137 | #if !defined (HAVE_GET_CURRENT_DIR_NAME) || defined (BROKEN_GET_CURRENT_DIR_NAME) |
| 138 | 138 | ||
| @@ -291,8 +291,9 @@ init_baud_rate (int fd) | |||
| 291 | 291 | ||
| 292 | 292 | ||
| 293 | 293 | ||
| 294 | int wait_debugging; /* Set nonzero to make following function work under dbx | 294 | /* Set nonzero to make following function work under dbx |
| 295 | (at least for bsd). */ | 295 | (at least for bsd). */ |
| 296 | int wait_debugging EXTERNALLY_VISIBLE; | ||
| 296 | 297 | ||
| 297 | #ifndef MSDOS | 298 | #ifndef MSDOS |
| 298 | /* Wait for subprocess with process id `pid' to terminate and | 299 | /* Wait for subprocess with process id `pid' to terminate and |
| @@ -650,7 +651,7 @@ unrequest_sigio (void) | |||
| 650 | #else | 651 | #else |
| 651 | #ifdef F_SETFL | 652 | #ifdef F_SETFL |
| 652 | 653 | ||
| 653 | int old_fcntl_flags[MAXDESC]; | 654 | static int old_fcntl_flags[MAXDESC]; |
| 654 | 655 | ||
| 655 | void | 656 | void |
| 656 | init_sigio (int fd) | 657 | init_sigio (int fd) |
| @@ -809,7 +810,7 @@ emacs_set_tty (int fd, struct emacs_tty *settings, int flushp) | |||
| 809 | 810 | ||
| 810 | 811 | ||
| 811 | #ifdef F_SETOWN | 812 | #ifdef F_SETOWN |
| 812 | int old_fcntl_owner[MAXDESC]; | 813 | static int old_fcntl_owner[MAXDESC]; |
| 813 | #endif /* F_SETOWN */ | 814 | #endif /* F_SETOWN */ |
| 814 | 815 | ||
| 815 | /* This may also be defined in stdio, | 816 | /* This may also be defined in stdio, |
| @@ -1451,7 +1452,7 @@ init_system_name (void) | |||
| 1451 | /* POSIX signals support - DJB */ | 1452 | /* POSIX signals support - DJB */ |
| 1452 | /* Anyone with POSIX signals should have ANSI C declarations */ | 1453 | /* Anyone with POSIX signals should have ANSI C declarations */ |
| 1453 | 1454 | ||
| 1454 | sigset_t empty_mask, full_mask; | 1455 | sigset_t empty_mask; |
| 1455 | 1456 | ||
| 1456 | #ifndef WINDOWSNT | 1457 | #ifndef WINDOWSNT |
| 1457 | 1458 | ||
| @@ -1540,7 +1541,6 @@ void | |||
| 1540 | init_signals (void) | 1541 | init_signals (void) |
| 1541 | { | 1542 | { |
| 1542 | sigemptyset (&empty_mask); | 1543 | sigemptyset (&empty_mask); |
| 1543 | sigfillset (&full_mask); | ||
| 1544 | 1544 | ||
| 1545 | #if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST | 1545 | #if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST |
| 1546 | if (! initialized) | 1546 | if (! initialized) |