Fixed major typos in the signal declarations that was preventing anything that used signal() from compiling.

This commit is contained in:
dtrg
2007-04-24 19:34:34 +00:00
parent f6085fb234
commit 740940c9fc
2 changed files with 8 additions and 7 deletions

View File

@@ -72,9 +72,9 @@ extern int isatty(int d);
typedef int sig_atomic_t;
#define SIG_ERR ((__sighandler_t) -1) /* Error return. */
#define SIG_DFL ((__sighandler_t) 0) /* Default action. */
#define SIG_IGN ((__sighandler_t) 1) /* Ignore signal. */
#define SIG_ERR ((sighandler_t) -1) /* Error return. */
#define SIG_DFL ((sighandler_t) 0) /* Default action. */
#define SIG_IGN ((sighandler_t) 1) /* Ignore signal. */
#define SIGHUP 1 /* Hangup (POSIX). */
#define SIGINT 2 /* Interrupt (ANSI). */