2 m4_dnl (part of complex test harness, not of the library)
3 m4_dnl - redefinitions of system calls
5 m4_dnl This file is part of adns, which is Copyright Ian Jackson
6 m4_dnl and contributors (see the file INSTALL for full details).
8 m4_dnl This program is free software; you can redistribute it and/or modify
9 m4_dnl it under the terms of the GNU General Public License as published by
10 m4_dnl the Free Software Foundation; either version 3, or (at your option)
11 m4_dnl any later version.
13 m4_dnl This program is distributed in the hope that it will be useful,
14 m4_dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
15 m4_dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 m4_dnl GNU General Public License for more details.
18 m4_dnl You should have received a copy of the GNU General Public License
19 m4_dnl along with this program; if not, write to the Free Software Foundation.
21 m4_include(hmacros.i4)
23 #ifndef HREDIRECT_H_INCLUDED
24 #define HREDIRECT_H_INCLUDED
26 #include "hsyscalls.h"
29 m4_define(`hm_syscall', `#undef $1
31 m4_define(`hm_specsyscall',`#undef $2
33 m4_include(`hsyscalls.i4')
35 m4_dnl only usage site is definition of main
36 #define main(C, V) Hmain(C, V); int Hmain(C, V)