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