summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/pthread/pthread_db.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-17 17:09:12 +0000
committermarcel <marcel@FreeBSD.org>2004-07-17 17:09:12 +0000
commit324c7572c7320765ce0b3791ff2141f3571ccdac (patch)
tree93eb367d7928c450ed682d43e7b4663d734bb2ab /lib/libthread_db/pthread/pthread_db.c
parent8fa131ee7743206776b6a19e9254df69d3adb2ce (diff)
downloadFreeBSD-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.c2
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;
OpenPOWER on IntegriCloud