summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-06-17 15:02:39 +0000
committerderaadt <deraadt@openbsd.org>2019-06-17 15:02:39 +0000
commite1e433b451ff80d1d49149b94c92b689776edb4e (patch)
tree275d0b7a3721f7a1fec6a26f0314f0db528f3e0f
parentthis file is not needed (diff)
downloadwireguard-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.h9
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 */