hooks.c revision 102780
150276Speter/* General-purpose hooks.
2166124Srafan   Copyright (C) 2002 Free Software Foundation, Inc.
350276Speter
450276SpeterThis program is free software; you can redistribute it and/or modify it
550276Speterunder the terms of the GNU General Public License as published by the
650276SpeterFree Software Foundation; either version 2, or (at your option) any
750276Speterlater version.
850276Speter
950276SpeterThis program is distributed in the hope that it will be useful,
1050276Speterbut WITHOUT ANY WARRANTY; without even the implied warranty of
1150276SpeterMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1250276SpeterGNU General Public License for more details.
1350276Speter
1450276SpeterYou should have received a copy of the GNU General Public License
1550276Speteralong with this program; if not, write to the Free Software
1650276SpeterFoundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1750276Speter
1850276Speter In other words, you are welcome to use, share and improve this program.
1950276Speter You are forbidden to forbid anyone else to use, share and improve
2050276Speter what you give them.   Help stamp out software-hoarding!  */
2150276Speter
2250276Speter/* This file contains generic hooks that can be used as defaults for
2350276Speter   target or language-dependent hook initializers.  */
2450276Speter
2550276Speter#include "config.h"
2650276Speter#include "system.h"
2750276Speter#include "hooks.h"
2850276Speter
2950276Speter/* Generic hook that does absolutely zappo.  */
30166124Srafanvoid
3150276Speterhook_void_void ()
3250276Speter{
3350276Speter}
3450276Speter
3550276Speter/* Generic hook that takes no arguments and returns false.  */
3650276Speterbool
3750276Speterhook_void_bool_false ()
3850276Speter{
3950276Speter  return false;
40166124Srafan}
4150276Speter