diff options
author | 2019-06-17 15:02:39 +0000 | |
---|---|---|
committer | 2019-06-17 15:02:39 +0000 | |
commit | e1e433b451ff80d1d49149b94c92b689776edb4e (patch) | |
tree | 275d0b7a3721f7a1fec6a26f0314f0db528f3e0f | |
parent | this file is not needed (diff) | |
download | wireguard-openbsd-e1e433b451ff80d1d49149b94c92b689776edb4e.tar.xz wireguard-openbsd-e1e433b451ff80d1d49149b94c92b689776edb4e.zip |
This portable code knocking out pledge or unveil is better done
as a C stub, rather than #define.
Anyways, this "-portable by default" approach is not the OpenBSD way.
-rw-r--r-- | usr.sbin/rpki-client/extern.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h index 22ff67e7b4c..a731182210b 100644 --- a/usr.sbin/rpki-client/extern.h +++ b/usr.sbin/rpki-client/extern.h @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.1.1.1 2019/06/17 14:31:30 job Exp $ */ +/* $Id: extern.h,v 1.2 2019/06/17 15:02:39 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -17,13 +17,6 @@ #ifndef EXTERN_H #define EXTERN_H -#if !HAVE_PLEDGE -# define pledge(x, y) (1) -#endif -#if !HAVE_UNVEIL -# define unveil(x, y) (1) -#endif - enum cert_as_type { CERT_AS_ID, /* single identifier */ CERT_AS_INHERIT, /* inherit from parent */ |