artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f772f
)
Add a dummy stub for getmonotime(). Reminded by tb@
author
claudio
<claudio@openbsd.org>
Tue, 17 Jan 2023 16:11:52 +0000
(16:11 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 17 Jan 2023 16:11:52 +0000
(16:11 +0000)
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
b/regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
index
ca75c57
..
0467783
100644
(file)
--- a/
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
+++ b/
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rde_aspa_test.c,v 1.
2 2023/01/12 08:47:07
claudio Exp $ */
+/* $OpenBSD: rde_aspa_test.c,v 1.
3 2023/01/17 16:11:52
claudio Exp $ */
/*
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
@@
-691,3
+691,9
@@
print_state(struct aspa_state *a, struct aspa_state *b)
if (a->ndown_np != b->ndown_np)
printf(" ndown_np %d != %d", a->ndown_np, b->ndown_np);
}
+
+time_t
+getmonotime(void)
+{
+ return time(NULL);
+}