summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2023-08-30 10:02:29 +0000
committerJob Snijders <job@cvs.openbsd.org>2023-08-30 10:02:29 +0000
commitfd7fa8e97e73b84d207c1d53d94b92032139c72d (patch)
tree35e38c1747dee1215d9ec1573db5e83466ce12d7 /usr.sbin/rpki-client
parentc366de2fdc1f61fae9e0de526af5ecbbdb2809fa (diff)
Constify argument to entity_write_repo()
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r--usr.sbin/rpki-client/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index 2cc9787855c..6c39865e0b2 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.245 2023/08/30 10:01:52 job Exp $ */
+/* $OpenBSD: main.c,v 1.246 2023/08/30 10:02:28 job Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -174,7 +174,7 @@ entity_write_req(const struct entity *ent)
}
static void
-entity_write_repo(struct repo *rp)
+entity_write_repo(const struct repo *rp)
{
struct ibuf *b;
enum rtype type = RTYPE_REPO;