Deleted Added
full compact
opts.h (305138) opts.h (369186)
1/* $FreeBSD: stable/11/contrib/ipfilter/opts.h 305138 2016-08-31 18:00:41Z dim $ */
1/* $FreeBSD: stable/11/contrib/ipfilter/opts.h 369186 2021-01-31 04:32:46Z cy $ */
2
3/*
4 * Copyright (C) 2012 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $Id$
9 */

--- 39 unchanged lines hidden (view full) ---

49#define OPT_DONTOPEN 0x10000000
50#define OPT_PURGE 0x20000000
51
52#define OPT_STAT OPT_FRSTATES
53#define OPT_LIST OPT_SHOWLIST
54
55
56#ifndef __P
2
3/*
4 * Copyright (C) 2012 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $Id$
9 */

--- 39 unchanged lines hidden (view full) ---

49#define OPT_DONTOPEN 0x10000000
50#define OPT_PURGE 0x20000000
51
52#define OPT_STAT OPT_FRSTATES
53#define OPT_LIST OPT_SHOWLIST
54
55
56#ifndef __P
57# ifdef __STDC__
58# define __P(x) x
57# define __P(x) x
59# else
60# define __P(x) ()
61# endif
62#endif
63
64#if defined(sun) && !SOLARIS
65# define STRERROR(x) sys_errlist[x]
66extern char *sys_errlist[];
67#else
68# define STRERROR(x) strerror(x)
69#endif
70
71extern int opts;
72
73#endif /* __OPTS_H__ */
58#endif
59
60#if defined(sun) && !SOLARIS
61# define STRERROR(x) sys_errlist[x]
62extern char *sys_errlist[];
63#else
64# define STRERROR(x) strerror(x)
65#endif
66
67extern int opts;
68
69#endif /* __OPTS_H__ */