Deleted Added
full compact
trap.h (1557) trap.h (3044)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)trap.h 8.1 (Berkeley) 5/31/93
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)trap.h 8.1 (Berkeley) 5/31/93
37 * $Id$
37 */
38
39extern int pendingsigs;
40
41#ifdef __STDC__
42void clear_traps(void);
43int setsignal(int);
44void ignoresig(int);
45void dotrap(void);
46void setinteractive(int);
47void exitshell(int);
48#else
49void clear_traps();
50int setsignal();
51void ignoresig();
52void dotrap();
53void setinteractive();
54void exitshell();
55#endif
38 */
39
40extern int pendingsigs;
41
42#ifdef __STDC__
43void clear_traps(void);
44int setsignal(int);
45void ignoresig(int);
46void dotrap(void);
47void setinteractive(int);
48void exitshell(int);
49#else
50void clear_traps();
51int setsignal();
52void ignoresig();
53void dotrap();
54void setinteractive();
55void exitshell();
56#endif