From: claudio Date: Thu, 27 Apr 2023 06:11:43 +0000 (+0000) Subject: Unbreak regress after yesterdays churn. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d6d042a5789537d5d539af235ad3e932c7b51581;p=openbsd Unbreak regress after yesterdays churn. Friendly reminder from anton@ --- diff --git a/regress/usr.sbin/rpki-client/repo-dummy.c b/regress/usr.sbin/rpki-client/repo-dummy.c index 2147f6cd0ad..2ae5a66d6f1 100644 --- a/regress/usr.sbin/rpki-client/repo-dummy.c +++ b/regress/usr.sbin/rpki-client/repo-dummy.c @@ -6,7 +6,7 @@ #include "extern.h" void -repo_stat_inc(struct repo *repo, enum rtype type, enum stype subtype) +repo_stat_inc(struct repo *repo, int tal, enum rtype type, enum stype subtype) { return; } diff --git a/regress/usr.sbin/rpki-client/test-aspa.c b/regress/usr.sbin/rpki-client/test-aspa.c index aa02db5d379..9aef5462d55 100644 --- a/regress/usr.sbin/rpki-client/test-aspa.c +++ b/regress/usr.sbin/rpki-client/test-aspa.c @@ -1,4 +1,4 @@ -/* $Id: test-aspa.c,v 1.2 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-aspa.c,v 1.3 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2022 Job Snijders * Copyright (c) 2019 Kristaps Dzonsons @@ -96,3 +96,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-cert.c b/regress/usr.sbin/rpki-client/test-cert.c index d06ddc0d20f..110565c95c2 100644 --- a/regress/usr.sbin/rpki-client/test-cert.c +++ b/regress/usr.sbin/rpki-client/test-cert.c @@ -1,4 +1,4 @@ -/* $Id: test-cert.c,v 1.20 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-cert.c,v 1.21 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -125,3 +125,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-gbr.c b/regress/usr.sbin/rpki-client/test-gbr.c index d06b581a42c..02386278afc 100644 --- a/regress/usr.sbin/rpki-client/test-gbr.c +++ b/regress/usr.sbin/rpki-client/test-gbr.c @@ -1,4 +1,4 @@ -/* $Id: test-gbr.c,v 1.12 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-gbr.c,v 1.13 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -96,3 +96,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-geofeed.c b/regress/usr.sbin/rpki-client/test-geofeed.c index 54523f2e69c..aff4685e8e5 100644 --- a/regress/usr.sbin/rpki-client/test-geofeed.c +++ b/regress/usr.sbin/rpki-client/test-geofeed.c @@ -1,4 +1,4 @@ -/* $Id: test-geofeed.c,v 1.1 2022/11/26 12:34:31 tb Exp $ */ +/* $Id: test-geofeed.c,v 1.2 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -96,3 +96,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-ip.c b/regress/usr.sbin/rpki-client/test-ip.c index d04451f1330..7fe22070e0b 100644 --- a/regress/usr.sbin/rpki-client/test-ip.c +++ b/regress/usr.sbin/rpki-client/test-ip.c @@ -1,4 +1,4 @@ -/* $Id: test-ip.c,v 1.6 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-ip.c,v 1.7 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -128,3 +128,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-mft.c b/regress/usr.sbin/rpki-client/test-mft.c index 1d2543208de..8ceb2e2cd77 100644 --- a/regress/usr.sbin/rpki-client/test-mft.c +++ b/regress/usr.sbin/rpki-client/test-mft.c @@ -1,4 +1,4 @@ -/* $Id: test-mft.c,v 1.22 2022/08/26 06:32:03 tb Exp $ */ +/* $Id: test-mft.c,v 1.23 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -97,3 +97,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-roa.c b/regress/usr.sbin/rpki-client/test-roa.c index 30d5994a228..a6927ac21ae 100644 --- a/regress/usr.sbin/rpki-client/test-roa.c +++ b/regress/usr.sbin/rpki-client/test-roa.c @@ -1,4 +1,4 @@ -/* $Id: test-roa.c,v 1.20 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-roa.c,v 1.21 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -95,3 +95,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-rrdp.c b/regress/usr.sbin/rpki-client/test-rrdp.c index e8b681579ce..f269452bc29 100644 --- a/regress/usr.sbin/rpki-client/test-rrdp.c +++ b/regress/usr.sbin/rpki-client/test-rrdp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test-rrdp.c,v 1.3 2022/04/20 17:37:53 tb Exp $ */ +/* $OpenBSD: test-rrdp.c,v 1.4 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2020 Nils Fisher * Copyright (c) 2021 Claudio Jeker @@ -338,3 +338,9 @@ usage: "-d | -n | -s\n", "test-rrdp"); exit(1); } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-rsc.c b/regress/usr.sbin/rpki-client/test-rsc.c index b90ca56bd3e..1bd61cd5c3b 100644 --- a/regress/usr.sbin/rpki-client/test-rsc.c +++ b/regress/usr.sbin/rpki-client/test-rsc.c @@ -1,4 +1,4 @@ -/* $Id: test-rsc.c,v 1.5 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-rsc.c,v 1.6 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -98,3 +98,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-tak.c b/regress/usr.sbin/rpki-client/test-tak.c index 71ac50f1bb8..c9229011273 100644 --- a/regress/usr.sbin/rpki-client/test-tak.c +++ b/regress/usr.sbin/rpki-client/test-tak.c @@ -1,4 +1,4 @@ -/* $Id: test-tak.c,v 1.2 2022/11/05 10:32:51 job Exp $ */ +/* $Id: test-tak.c,v 1.3 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2022 Job Snijders * Copyright (c) 2019 Kristaps Dzonsons @@ -96,3 +96,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +} diff --git a/regress/usr.sbin/rpki-client/test-tal.c b/regress/usr.sbin/rpki-client/test-tal.c index 587c588ccf4..de59cf2a44a 100644 --- a/regress/usr.sbin/rpki-client/test-tal.c +++ b/regress/usr.sbin/rpki-client/test-tal.c @@ -1,4 +1,4 @@ -/* $Id: test-tal.c,v 1.9 2022/04/20 17:26:53 tb Exp $ */ +/* $Id: test-tal.c,v 1.10 2023/04/27 06:11:43 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -80,3 +80,9 @@ main(int argc, char *argv[]) printf("OK\n"); return 0; } + +time_t +get_current_time(void) +{ + return time(NULL); +}