Licensing: Add copyright for Mark Wooding
[adns] / regress / hsyscalls.h.m4
CommitLineData
0ebff22d 1m4_dnl hsyscalls.h.m4
2m4_dnl (part of complex test harness, not of the library)
3m4_dnl - prototypes of redefinitions of system calls
4
ae8cc977 5m4_dnl This file is part of adns, which is
26e1c3d6 6m4_dnl Copyright (C) 1997-2000,2003,2006,2014 Ian Jackson
17cd4f48 7m4_dnl Copyright (C) 2014 Mark Wooding
ae8cc977 8m4_dnl Copyright (C) 1999-2000,2003,2006 Tony Finch
9m4_dnl Copyright (C) 1991 Massachusetts Institute of Technology
10m4_dnl (See the file INSTALL for full details.)
0ebff22d 11m4_dnl
12m4_dnl This program is free software; you can redistribute it and/or modify
13m4_dnl it under the terms of the GNU General Public License as published by
7f8bbe29 14m4_dnl the Free Software Foundation; either version 3, or (at your option)
0ebff22d 15m4_dnl any later version.
16m4_dnl
17m4_dnl This program is distributed in the hope that it will be useful,
18m4_dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
19m4_dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20m4_dnl GNU General Public License for more details.
21m4_dnl
22m4_dnl You should have received a copy of the GNU General Public License
8c09a4c6 23m4_dnl along with this program; if not, write to the Free Software Foundation.
0ebff22d 24
25m4_include(hmacros.i4)
26
27#ifndef HSYSCALLS_H_INCLUDED
28#define HSYSCALLS_H_INCLUDED
29
5aabad0d 30#include <sys/types.h>
0ebff22d 31#include <sys/time.h>
32#include <sys/socket.h>
33#include <sys/uio.h>
34#include <unistd.h>
35
36#ifdef HAVE_POLL
37#include <sys/poll.h>
38#endif
39
40hm_create_proto_h
41m4_define(`hm_syscall', `int H$1(hm_args_massage($3,void));')
42m4_define(`hm_specsyscall', `$1 H$2($3)$4;')
43m4_include(`hsyscalls.i4')
44
45#endif