Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix const variables.
Vsevolod Stakhov committed 13 years ago
commit 417a19f13e81c0bf93ee9a2892000bf88a99185b
parent 0593938
1 file changed +2 -2
modified libpkg/pkg_repo.c
@@ -1136,10 +1136,10 @@ substitute_into_sql(char *sqlbuf, size_t buflen, const char *fmt,

static int
apply_repo_change(struct pkgdb *db, const char *database,
-
		  struct repo_changes *repo_changes, const char *updown,
+
		  const struct repo_changes *repo_changes, const char *updown,
		  int version, int *next_version)
{
-
	struct repo_changes	*change;
+
	const struct repo_changes	*change;
	bool			 found = false;
	int			 ret = EPKG_OK;
	char			 sql[BUFSIZ];