From: job Date: Wed, 30 Aug 2023 10:02:28 +0000 (+0000) Subject: Constify argument to entity_write_repo() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=24b7a7c9e8be7f0cc337a4a163c970c00dcf948b;p=openbsd Constify argument to entity_write_repo() OK tb@ --- 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 * Copyright (c) 2019 Kristaps Dzonsons @@ -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;