xref: /netbsd-src/external/gpl2/diffutils/dist/lib/c-stack.h (revision f31867506b3d03104824848de4007d9c967e81b2)
1 /*	$NetBSD: c-stack.h,v 1.1.1.1 2016/01/13 03:15:30 christos Exp $	*/
2 
3 /* Stack overflow handling.
4 
5    Copyright (C) 2002 Free Software Foundation, Inc.
6 
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2, or (at your option)
10    any later version.
11 
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16 
17    You should have received a copy of the GNU General Public License
18    along with this program; if not, write to the Free Software Foundation,
19    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20 
21 #if ! HAVE_SIGINFO_T
22 # define siginfo_t void
23 #endif
24 
25 int c_stack_action (void (*) (int, siginfo_t *, void *));
26 void c_stack_die (int, siginfo_t *, void *);
27