X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a3aca278d6afbfdb5bf07d4ed314d3f3b936876e..5883787cd6e7b35636ff9928c2c21022906bb8da:/src/atimer.c diff --git a/src/atimer.c b/src/atimer.c index 54a038fd54..492aa4ec04 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -35,11 +35,6 @@ Boston, MA 02111-1307, USA. */ #include #endif -/* The ubiquitous min/max macros. */ - -#define max(X, Y) ((X) > (Y) ? (X) : (Y)) -#define min(X, Y) ((X) < (Y) ? (X) : (Y)) - /* Free-list of atimer structures. */ static struct atimer *free_atimers; @@ -62,7 +57,7 @@ static struct atimer *atimers; int pending_atimers; -/* Block/unblock SIGALRM.. */ +/* Block/unblock SIGALRM. */ #define BLOCK_ATIMERS sigblock (sigmask (SIGALRM)) #define UNBLOCK_ATIMERS sigunblock (sigmask (SIGALRM)) @@ -396,12 +391,6 @@ alarm_signal_handler (signo) EMACS_GET_TIME (now); } -#if defined (USG) && !defined (POSIX_SIGNALS) - /* USG systems forget handlers when they are used; - must reestablish each time. */ - signal (SIGALRM, alarm_signal_handler); -#endif /* USG */ - set_alarm (); }