diff options
author | marcel <marcel@FreeBSD.org> | 2004-07-17 17:09:12 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-07-17 17:09:12 +0000 |
commit | 324c7572c7320765ce0b3791ff2141f3571ccdac (patch) | |
tree | 93eb367d7928c450ed682d43e7b4663d734bb2ab /lib/libthread_db/pthread/pthread_db.c | |
parent | 8fa131ee7743206776b6a19e9254df69d3adb2ce (diff) | |
download | FreeBSD-src-324c7572c7320765ce0b3791ff2141f3571ccdac.zip FreeBSD-src-324c7572c7320765ce0b3791ff2141f3571ccdac.tar.gz |
Add the const qualifier to the prgregset_t argument for the *setregs*
functions.
Diffstat (limited to 'lib/libthread_db/pthread/pthread_db.c')
-rw-r--r-- | lib/libthread_db/pthread/pthread_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthread_db/pthread/pthread_db.c b/lib/libthread_db/pthread/pthread_db.c index e4f74a6..9a468b3 100644 --- a/lib/libthread_db/pthread/pthread_db.c +++ b/lib/libthread_db/pthread/pthread_db.c @@ -662,7 +662,7 @@ pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) } static td_err_e -pt_thr_setgregs(const td_thrhandle_t *th, prgregset_t gregs) +pt_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) { struct kse_thr_mailbox tmbx; pt_thragent_t *ta = (pt_thragent_t *)th->th_ta_p; |