0ebff22d |
1 | m4_dnl hredirect.h.m4 |
2 | m4_dnl (part of complex test harness, not of the library) |
3 | m4_dnl - redefinitions of system calls |
4 | |
ae8cc977 |
5 | m4_dnl This file is part of adns, which is |
26e1c3d6 |
6 | m4_dnl Copyright (C) 1997-2000,2003,2006,2014 Ian Jackson |
ae8cc977 |
7 | m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch |
8 | m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology |
9 | m4_dnl (See the file INSTALL for full details.) |
0ebff22d |
10 | m4_dnl |
11 | m4_dnl This program is free software; you can redistribute it and/or modify |
12 | m4_dnl it under the terms of the GNU General Public License as published by |
7f8bbe29 |
13 | m4_dnl the Free Software Foundation; either version 3, or (at your option) |
0ebff22d |
14 | m4_dnl any later version. |
15 | m4_dnl |
16 | m4_dnl This program is distributed in the hope that it will be useful, |
17 | m4_dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | m4_dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | m4_dnl GNU General Public License for more details. |
20 | m4_dnl |
21 | m4_dnl You should have received a copy of the GNU General Public License |
8c09a4c6 |
22 | m4_dnl along with this program; if not, write to the Free Software Foundation. |
0ebff22d |
23 | |
24 | m4_include(hmacros.i4) |
25 | |
26 | #ifndef HREDIRECT_H_INCLUDED |
27 | #define HREDIRECT_H_INCLUDED |
28 | |
29 | #include "hsyscalls.h" |
30 | |
31 | hm_create_nothing |
32 | m4_define(`hm_syscall', `#undef $1 |
33 | #define $1 H$1') |
0d66e373 |
34 | m4_define(`hm_specsyscall',`#undef $2 |
0ebff22d |
35 | #define $2 H$2') |
36 | m4_include(`hsyscalls.i4') |
37 | |
38 | #endif |