Cleanup for WARNS 2.
This commit is contained in:
parent
9a91b0b82b
commit
e92a1d88d1
@ -9,7 +9,7 @@ SRCS+= libpthread_md.c
|
||||
SRCS+= libpthread_db.c
|
||||
SRCS+= libthr_db.c
|
||||
INCS= thread_db.h
|
||||
WARNS?= 1
|
||||
WARNS?= 2
|
||||
|
||||
CFLAGS+=-I. -I${.CURDIR}
|
||||
SYM_MAPS+=${.CURDIR}/Symbol.map
|
||||
|
@ -97,7 +97,6 @@ pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc)
|
||||
void
|
||||
pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
|
||||
{
|
||||
const mcontext_t *mc = &uc->uc_mcontext;
|
||||
|
||||
/* XXX */
|
||||
memset(r, 0, sizeof(*r));
|
||||
@ -113,4 +112,5 @@ pt_reg_sstep(struct reg *reg, int step)
|
||||
{
|
||||
|
||||
/* XXX */
|
||||
return (0);
|
||||
}
|
||||
|
@ -80,4 +80,5 @@ pt_reg_sstep(struct reg *reg, int step)
|
||||
{
|
||||
|
||||
/* XXX */
|
||||
return (0);
|
||||
}
|
||||
|
@ -50,7 +50,6 @@ td_init(void)
|
||||
{
|
||||
td_err_e ret, tmp;
|
||||
struct ta_ops *ops_p, **ops_pp;
|
||||
size_t i;
|
||||
|
||||
ret = 0;
|
||||
SET_FOREACH(ops_pp, __ta_ops) {
|
||||
@ -104,7 +103,6 @@ td_ta_map_lwp2thr(const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th)
|
||||
td_err_e
|
||||
td_ta_new(struct ps_prochandle *ph, td_thragent_t **pta)
|
||||
{
|
||||
size_t i;
|
||||
struct ta_ops *ops_p, **ops_pp;
|
||||
|
||||
SET_FOREACH(ops_pp, __ta_ops) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user