1 /* Data structure definitions for common hooks.
3 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation; either version 3, or (at your option) any
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; see the file COPYING3. If not see
17 <http://www.gnu.org/licenses/>.
19 In other words, you are welcome to use, share and improve this program.
20 You are forbidden to forbid anyone else to use, share and improve
21 what you give them. Help stamp out software-hoarding! */
23 #ifndef GCC_COMMON_TARGET_H
24 #define GCC_COMMON_TARGET_H
26 #define DEFHOOKPOD(NAME, DOC, TYPE, INIT) TYPE NAME;
27 #define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS;
28 #define DEFHOOK_UNDOC DEFHOOK
29 #define HOOKSTRUCT(FRAGMENT) FRAGMENT
31 #include "common-target.def"
33 extern struct gcc_targetm_common targetm_common;
35 #endif /* GCC_C_TARGET_H */