| 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 | |
| 5 | m4_dnl This file is |
| 6 | m4_dnl Copyright (C) 2000 Ian Jackson <ian@davenant.greenend.org.uk> |
| 7 | m4_dnl |
| 8 | m4_dnl It is part of adns, which is |
| 9 | m4_dnl Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk> |
| 10 | m4_dnl Copyright (C) 1999-2000 Tony Finch <dot@dotat.at> |
| 11 | m4_dnl |
| 12 | m4_dnl This program is free software; you can redistribute it and/or modify |
| 13 | m4_dnl it under the terms of the GNU General Public License as published by |
| 14 | m4_dnl the Free Software Foundation; either version 2, or (at your option) |
| 15 | m4_dnl any later version. |
| 16 | m4_dnl |
| 17 | m4_dnl This program is distributed in the hope that it will be useful, |
| 18 | m4_dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | m4_dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | m4_dnl GNU General Public License for more details. |
| 21 | m4_dnl |
| 22 | m4_dnl You should have received a copy of the GNU General Public License |
| 23 | m4_dnl along with this program; if not, write to the Free Software Foundation, |
| 24 | m4_dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | |
| 26 | m4_include(hmacros.i4) |
| 27 | |
| 28 | #ifndef HREDIRECT_H_INCLUDED |
| 29 | #define HREDIRECT_H_INCLUDED |
| 30 | |
| 31 | #include "hsyscalls.h" |
| 32 | |
| 33 | hm_create_nothing |
| 34 | m4_define(`hm_syscall', `#undef $1 |
| 35 | #define $1 H$1') |
| 36 | m4_define(`hm_specsyscall',`#undef $1 |
| 37 | #define $2 H$2') |
| 38 | m4_include(`hsyscalls.i4') |
| 39 | |
| 40 | #endif |