diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-09-04 14:51:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-09-04 14:51:40 +0000 |
commit | 2b21669c21d69cb77ae44f7892627ed922798eba (patch) | |
tree | 6bc939c39c16cfe139acd8e2feb910d5e42ae60e /lib/libc/stdlib | |
parent | 2d1a9b6a458626d4016106cdd8f0bf4f8b3497f5 (diff) |
Make the key sizes and offsets arrays const, ok tedu
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/icdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/icdb.c b/lib/libc/stdlib/icdb.c index 5bf549ecb33..e135bf025ec 100644 --- a/lib/libc/stdlib/icdb.c +++ b/lib/libc/stdlib/icdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icdb.c,v 1.6 2016/05/30 03:06:58 guenther Exp $ */ +/* $OpenBSD: icdb.c,v 1.7 2016/09/04 14:51:39 nicm Exp $ */ /* * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * @@ -114,7 +114,7 @@ roundup(uint32_t num) struct icdb * icdb_new(uint32_t version, uint32_t nentries, uint32_t entrysize, - uint32_t nkeys, uint32_t *keysizes, uint32_t *keyoffsets) + uint32_t nkeys, const uint32_t *keysizes, const uint32_t *keyoffsets) { struct icdb *db; struct icdbinfo *info; |