chiark / gitweb /
Fix typo in changelog entry for 1.6.1
[adns.git] / regress / hredirect.h.m4
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 part of adns, which is Copyright Ian Jackson
6 m4_dnl  and contributors (see the file INSTALL for full details).
7 m4_dnl  
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.
12 m4_dnl  
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.
17 m4_dnl  
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.
20
21 m4_include(hmacros.i4)
22
23 #ifndef HREDIRECT_H_INCLUDED
24 #define HREDIRECT_H_INCLUDED
25
26 #include "hsyscalls.h"
27
28 hm_create_nothing
29 m4_define(`hm_syscall', `#undef $1
30 #define $1 H$1')
31 m4_define(`hm_specsyscall',`#undef $2
32 #define $2 H$2')
33 m4_include(`hsyscalls.i4')
34
35 m4_dnl only usage site is definition of main
36 #define main(C, V) Hmain(C, V); int Hmain(C, V)
37
38 #endif