diff options
author | benno <benno@openbsd.org> | 2019-12-04 23:01:54 +0000 |
---|---|---|
committer | benno <benno@openbsd.org> | 2019-12-04 23:01:54 +0000 |
commit | 45ae9c8a21f9ad4425a66c0b3bd311a7fee6cb59 (patch) | |
tree | 84ed09c052050a6fff5a7a6412297dd5ec3fc013 /usr.sbin/rpki-client | |
parent | When we detect that a resolver strategy is not validating because the (diff) | |
download | wireguard-openbsd-45ae9c8a21f9ad4425a66c0b3bd311a7fee6cb59.tar.xz wireguard-openbsd-45ae9c8a21f9ad4425a66c0b3bd311a7fee6cb59.zip |
reduce includes to the required minimum.
ok deraadt@
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r-- | usr.sbin/rpki-client/output.c | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/usr.sbin/rpki-client/output.c b/usr.sbin/rpki-client/output.c index 4e10e35d548..e5f4402a10f 100644 --- a/usr.sbin/rpki-client/output.c +++ b/usr.sbin/rpki-client/output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output.c,v 1.1 2019/12/04 12:40:17 deraadt Exp $ */ +/* $OpenBSD: output.c,v 1.2 2019/12/04 23:01:54 benno Exp $ */ /* * Copyright (c) 2019 Theo de Raadt <deraadt@openbsd.org> * @@ -15,44 +15,28 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/queue.h> -#include <sys/socket.h> #include <sys/stat.h> -#include <sys/tree.h> -#include <sys/types.h> -#include <sys/wait.h> -#include <assert.h> #include <err.h> -#include <dirent.h> #include <fcntl.h> -#include <fnmatch.h> -#include <fts.h> -#include <inttypes.h> -#include <poll.h> -#include <pwd.h> #include <signal.h> -#include <stdio.h> -#include <stdlib.h> #include <string.h> #include <limits.h> #include <unistd.h> -#include <openssl/err.h> -#include <openssl/evp.h> #include <openssl/x509v3.h> #include "extern.h" char *outputdir = _PATH_ROA_DIR; FILE *output = NULL; -char output_tmpname[PATH_MAX]; -char output_name[PATH_MAX]; +char output_tmpname[PATH_MAX]; +char output_name[PATH_MAX]; -int outformats; +int outformats; struct outputs { - int format; + int format; char *name; int (*fn)(FILE *, struct vrp_tree *); } outputs[] = { |