Constify argument to entity_write_repo()
authorjob <job@openbsd.org>
Wed, 30 Aug 2023 10:02:28 +0000 (10:02 +0000)
committerjob <job@openbsd.org>
Wed, 30 Aug 2023 10:02:28 +0000 (10:02 +0000)
OK tb@

usr.sbin/rpki-client/main.c

index 2cc9787..6c39865 100644 (file)
@@ -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;