mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
* sysdep.c (croak): Now static, if
defined TIOCNOTTY || defined USG5 || defined CYGWIN. * syssignal.h (croak): Declare only if not static.
This commit is contained in:
parent
69003fd841
commit
5d4cb038a4
@ -1,4 +1,8 @@
|
||||
2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
|
||||
2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* sysdep.c (croak): Now static, if
|
||||
defined TIOCNOTTY || defined USG5 || defined CYGWIN.
|
||||
* syssignal.h (croak): Declare only if not static.
|
||||
|
||||
* alloc.c (refill_memory_reserve): Now static if
|
||||
!defined REL_ALLOC || defined SYSTEM_MALLOC.
|
||||
|
@ -120,6 +120,9 @@ struct utimbuf {
|
||||
|
||||
static int emacs_get_tty (int, struct emacs_tty *);
|
||||
static int emacs_set_tty (int, struct emacs_tty *, int);
|
||||
#if defined TIOCNOTTY || defined USG5 || defined CYGWIN
|
||||
static void croak (char *) NO_RETURN;
|
||||
#endif
|
||||
|
||||
/* Declare here, including term.h is problematic on some systems. */
|
||||
extern void tputs (const char *, int, int (*)(int));
|
||||
|
@ -74,7 +74,9 @@ signal_handler_t sys_signal (int signal_number, signal_handler_t action);
|
||||
sigset_t sys_sigblock (sigset_t new_mask);
|
||||
sigset_t sys_sigunblock (sigset_t new_mask);
|
||||
sigset_t sys_sigsetmask (sigset_t new_mask);
|
||||
#if ! (defined TIOCNOTTY || defined USG5 || defined CYGWIN)
|
||||
void croak (char *) NO_RETURN;
|
||||
#endif
|
||||
|
||||
#define sys_sigdel(MASK,SIG) sigdelset (&MASK,SIG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user