mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
rwlock: Sprinkle const qualifiers where appropriate
No functional change intended. MFC after: 2 weeks
This commit is contained in:
1 parent
bec0532010
commit
3c3686b3c7
2 files changed
+3
-3
No files matched your search
@@ -266,9 +266,9 @@ _rw_destroy(volatile uintptr_t *c)
|
||||
}
|
||||
|
||||
void
|
||||
rw_sysinit(void *arg)
|
||||
rw_sysinit(const void *arg)
|
||||
{
|
||||
struct rw_args *args;
|
||||
const struct rw_args *args;
|
||||
|
||||
args = arg;
|
||||
rw_init_flags((struct rwlock *)args->ra_rw, args->ra_desc,
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@
|
||||
*/
|
||||
void _rw_init_flags(volatile uintptr_t *c, const char *name, int opts);
|
||||
void _rw_destroy(volatile uintptr_t *c);
|
||||
void rw_sysinit(void *arg);
|
||||
void rw_sysinit(const void *arg);
|
||||
int _rw_wowned(const volatile uintptr_t *c);
|
||||
void _rw_wlock_cookie(volatile uintptr_t *c, const char *file, int line);
|
||||
int __rw_try_wlock_int(struct rwlock *rw LOCK_FILE_LINE_ARG_DEF);
|
||||
|
||||
Reference in new issue
Block a user