3
* Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and
4
* Jeroen Nijhof <jeroen@nijhofnet.nl>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program - see the file COPYING.
19
* See `CHANGES' file for revision history.
26
#if defined(__STDC__) || defined(__cplusplus)
35
#define _VOLATILE volatile
36
#define _SIGNED signed
39
#define _EXFUN(name, proto) name proto
40
#define _DEFUN(name, arglist, args) name(args)
41
#define _DEFUN_VOID(name) name(_NOARGS)
42
#define _CAST_VOID (void)
44
#define _LONG_DOUBLE long double
47
#define _PARAMS(paramlist) paramlist
50
/* Support gcc's __attribute__ facility. */
52
#define _ATTRIBUTE(attrs) __attribute__ ((attrs))
54
#if defined(__cplusplus)
55
#define __BEGIN_DECLS extern "C" {