diff options
author | Job Snijders <job@cvs.openbsd.org> | 2022-11-29 20:41:33 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2022-11-29 20:41:33 +0000 |
commit | 7a601320ff7f4a35d7431b2dee18cea14a170166 (patch) | |
tree | c85606be03d4549ab6709eb368585f782778d344 /usr.sbin/rpki-client | |
parent | 27ff18ab99d691fafc4569715c9e2ed1d80afabc (diff) |
Only include stdarg.h, if we call any of va_{start,end}()
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r-- | usr.sbin/rpki-client/as.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/aspa.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/cert.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/cms.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/crl.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/gbr.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/ip.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/main.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/mft.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/roa.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/validate.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpki-client/x509.c | 3 |
12 files changed, 13 insertions, 23 deletions
diff --git a/usr.sbin/rpki-client/as.c b/usr.sbin/rpki-client/as.c index e5975b7ba2c..c4c2dd188cb 100644 --- a/usr.sbin/rpki-client/as.c +++ b/usr.sbin/rpki-client/as.c @@ -1,4 +1,4 @@ -/* $OpenBSD: as.c,v 1.9 2022/11/29 20:26:22 job Exp $ */ +/* $OpenBSD: as.c,v 1.10 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -18,7 +18,6 @@ #include <sys/socket.h> #include <err.h> -#include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/rpki-client/aspa.c b/usr.sbin/rpki-client/aspa.c index e7a948d7a11..79bafc03939 100644 --- a/usr.sbin/rpki-client/aspa.c +++ b/usr.sbin/rpki-client/aspa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aspa.c,v 1.8 2022/11/26 17:14:40 job Exp $ */ +/* $OpenBSD: aspa.c,v 1.9 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2022 Job Snijders <job@fastly.com> * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> @@ -19,7 +19,6 @@ #include <assert.h> #include <err.h> -#include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index 04a387dee96..87c0bc24cd6 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cert.c,v 1.98 2022/11/26 17:14:40 job Exp $ */ +/* $OpenBSD: cert.c,v 1.99 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2021 Job Snijders <job@openbsd.org> @@ -23,7 +23,6 @@ #include <assert.h> #include <err.h> #include <inttypes.h> -#include <stdarg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.sbin/rpki-client/cms.c b/usr.sbin/rpki-client/cms.c index 72e99726c83..795ebf7d412 100644 --- a/usr.sbin/rpki-client/cms.c +++ b/usr.sbin/rpki-client/cms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms.c,v 1.24 2022/11/28 18:33:56 tb Exp $ */ +/* $OpenBSD: cms.c,v 1.25 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -17,7 +17,6 @@ #include <assert.h> #include <err.h> -#include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/rpki-client/crl.c b/usr.sbin/rpki-client/crl.c index e1e5378c82f..69f3013b48f 100644 --- a/usr.sbin/rpki-client/crl.c +++ b/usr.sbin/rpki-client/crl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crl.c,v 1.18 2022/11/29 20:26:22 job Exp $ */ +/* $OpenBSD: crl.c,v 1.19 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -20,7 +20,6 @@ #include <arpa/inet.h> #include <err.h> #include <inttypes.h> -#include <stdarg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.sbin/rpki-client/gbr.c b/usr.sbin/rpki-client/gbr.c index 936f65e79a2..c3644ca5808 100644 --- a/usr.sbin/rpki-client/gbr.c +++ b/usr.sbin/rpki-client/gbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gbr.c,v 1.18 2022/11/29 20:26:22 job Exp $ */ +/* $OpenBSD: gbr.c,v 1.19 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org> * @@ -16,7 +16,6 @@ */ #include <err.h> -#include <stdarg.h> #include <stdint.h> #include <fcntl.h> #include <stdlib.h> diff --git a/usr.sbin/rpki-client/ip.c b/usr.sbin/rpki-client/ip.c index c229fc23042..89c3088aefb 100644 --- a/usr.sbin/rpki-client/ip.c +++ b/usr.sbin/rpki-client/ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip.c,v 1.26 2022/11/29 20:26:22 job Exp $ */ +/* $OpenBSD: ip.c,v 1.27 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -19,7 +19,6 @@ #include <arpa/inet.h> #include <err.h> -#include <stdarg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index afa1878c655..390ea90a818 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.225 2022/11/28 17:47:01 claudio Exp $ */ +/* $OpenBSD: main.c,v 1.226 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -33,6 +33,7 @@ #include <fnmatch.h> #include <poll.h> #include <pwd.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <signal.h> diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c index ed9cd187120..d9ab5dfb7df 100644 --- a/usr.sbin/rpki-client/mft.c +++ b/usr.sbin/rpki-client/mft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mft.c,v 1.79 2022/11/26 12:02:37 job Exp $ */ +/* $OpenBSD: mft.c,v 1.80 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -20,7 +20,6 @@ #include <ctype.h> #include <err.h> #include <limits.h> -#include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/rpki-client/roa.c b/usr.sbin/rpki-client/roa.c index ef0564a5fa6..b2367dc1684 100644 --- a/usr.sbin/rpki-client/roa.c +++ b/usr.sbin/rpki-client/roa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: roa.c,v 1.57 2022/11/26 17:14:40 job Exp $ */ +/* $OpenBSD: roa.c,v 1.58 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -18,7 +18,6 @@ #include <assert.h> #include <err.h> -#include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/rpki-client/validate.c b/usr.sbin/rpki-client/validate.c index b75f5260910..322089bc725 100644 --- a/usr.sbin/rpki-client/validate.c +++ b/usr.sbin/rpki-client/validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: validate.c,v 1.49 2022/11/29 11:45:03 claudio Exp $ */ +/* $OpenBSD: validate.c,v 1.50 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -23,7 +23,6 @@ #include <err.h> #include <fcntl.h> #include <inttypes.h> -#include <stdarg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.sbin/rpki-client/x509.c b/usr.sbin/rpki-client/x509.c index 8097e5e3506..8c03a8909ca 100644 --- a/usr.sbin/rpki-client/x509.c +++ b/usr.sbin/rpki-client/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.60 2022/11/29 20:26:22 job Exp $ */ +/* $OpenBSD: x509.c,v 1.61 2022/11/29 20:41:32 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org> @@ -20,7 +20,6 @@ #include <sys/socket.h> #include <err.h> -#include <stdarg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> |