diff options
| author | nicm <> | 2016-09-04 14:51:39 +0000 |
|---|---|---|
| committer | nicm <> | 2016-09-04 14:51:39 +0000 |
| commit | c4e405cd5812c5dad5dcd088fcc563147aa97bc8 (patch) | |
| tree | a9d3baaa92370edc5eab6b9fb3dd35f68e82d18b /src/lib/libc | |
| parent | d613aa0d6ef93fa8587113d3e866da6c582bdd0d (diff) | |
| download | openbsd-c4e405cd5812c5dad5dcd088fcc563147aa97bc8.tar.gz openbsd-c4e405cd5812c5dad5dcd088fcc563147aa97bc8.tar.bz2 openbsd-c4e405cd5812c5dad5dcd088fcc563147aa97bc8.zip | |
Make the key sizes and offsets arrays const, ok tedu
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/stdlib/icdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/icdb.c b/src/lib/libc/stdlib/icdb.c index 5bf549ecb3..e135bf025e 100644 --- a/src/lib/libc/stdlib/icdb.c +++ b/src/lib/libc/stdlib/icdb.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: icdb.c,v 1.6 2016/05/30 03:06:58 guenther Exp $ */ | 1 | /* $OpenBSD: icdb.c,v 1.7 2016/09/04 14:51:39 nicm Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> | 3 | * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> |
| 4 | * | 4 | * |
| @@ -114,7 +114,7 @@ roundup(uint32_t num) | |||
| 114 | 114 | ||
| 115 | struct icdb * | 115 | struct icdb * |
| 116 | icdb_new(uint32_t version, uint32_t nentries, uint32_t entrysize, | 116 | icdb_new(uint32_t version, uint32_t nentries, uint32_t entrysize, |
| 117 | uint32_t nkeys, uint32_t *keysizes, uint32_t *keyoffsets) | 117 | uint32_t nkeys, const uint32_t *keysizes, const uint32_t *keyoffsets) |
| 118 | { | 118 | { |
| 119 | struct icdb *db; | 119 | struct icdb *db; |
| 120 | struct icdbinfo *info; | 120 | struct icdbinfo *info; |
