X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2FSigAction.h;h=5dfde643f6a125853024b3edb6a81d10cb084da8;hp=efa3df223170f636eda7b56be5b9947f79d775dc;hb=f3eb40315f9e5eff503a172aed6d325b4e1f20c6;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/ncurses/SigAction.h b/ncurses/SigAction.h index efa3df22..5dfde643 100644 --- a/ncurses/SigAction.h +++ b/ncurses/SigAction.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998,2000 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * $Id: SigAction.h,v 1.4 1998/02/11 12:13:55 tom Exp $ + * $Id: SigAction.h,v 1.8 2005/08/06 20:05:32 tom Exp $ * * This file exists to handle non-POSIX systems which don't have , * and usually no sigaction() nor @@ -41,6 +41,14 @@ #ifndef _SIGACTION_H #define _SIGACTION_H +#ifndef HAVE_SIGACTION +#define HAVE_SIGACTION 0 +#endif + +#ifndef HAVE_SIGVEC +#define HAVE_SIGVEC 0 +#endif + #if HAVE_SIGACTION #if !HAVE_TYPE_SIGACTION @@ -51,10 +59,6 @@ typedef struct sigaction sigaction_t; #if HAVE_SIGVEC -#if HAVE_LIBC_H -#include -#endif - #undef SIG_BLOCK #define SIG_BLOCK 00 @@ -97,12 +101,8 @@ typedef unsigned long sigset_t; #undef sigaddset #define sigaddset _nc_sigaddset -extern int sigaction (int sig, sigaction_t * sigact, sigaction_t * osigact); -extern int sigprocmask (int how, sigset_t *mask, sigset_t *omask); -extern int sigemptyset (sigset_t *mask); -extern int sigsuspend (sigset_t *mask); -extern int sigdelset (sigset_t *mask, int sig); -extern int sigaddset (sigset_t *mask, int sig); +/* tty/lib_tstp.c is the only user */ +#include #endif /* HAVE_SIGVEC */ #endif /* HAVE_SIGACTION */