Skip to content

Commit 1699c31

Browse files
committed
Quiet 'visibility' warning for qthread_tos() and qthread_bos()
Quiet "‘visibility’ attribute ignored on non-class types" warnings for qthread_tos() and qthread_bos(). I think this change should be made for all functions, but these are the only ones that currently produce the warning. See #50 for more info
1 parent 9c156c6 commit 1699c31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qthread.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,15 +1881,15 @@ unsigned API_FUNC qthread_size_tasklocal(void)
18811881
return f->rdata->tasklocal_size ? f->rdata->tasklocal_size : qlib->qthread_tasklocal_size;
18821882
} /*}}}*/
18831883

1884-
void* API_FUNC qthread_tos(void)
1884+
API_FUNC void* qthread_tos(void)
18851885
{
18861886
const qthread_t *f = qthread_internal_self();
18871887

18881888
return f->rdata->stack;
18891889
}
18901890

18911891

1892-
void* API_FUNC qthread_bos(void)
1892+
API_FUNC void* qthread_bos(void)
18931893
{
18941894
const qthread_t *f = qthread_internal_self();
18951895

0 commit comments

Comments
 (0)