diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-12-12 22:33:54 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-02-10 18:14:45 -0800 |
commit | a0e44ddfb0c641e7896a55abf26621ae3d17e337 (patch) | |
tree | bea51c26de24633d664a8d180e09f7a03bdf89d8 /include | |
parent | 9682c47e228962e4008855c4da7467748742685e (diff) |
dmx: constify GCOps & GCFuncs pointers
Gets rid of 16 instances of gcc 4.8 warnings:
In file included from dmxgc.c:41:0:
dmx.h:327:23: warning: assignment discards ‘const’ qualifier from
pointer target type [enabled by default]
(_saved)->_entry = (_actual)->_entry; \
^
dmxgc.h:80:5: note: in expansion of macro ‘DMX_WRAP’
DMX_WRAP(funcs, &dmxGCFuncs, _pGCPriv, (_pGC)); \
^
dmxgc.c:192:5: note: in expansion of macro ‘DMX_GC_FUNC_EPILOGUE’
DMX_GC_FUNC_EPILOGUE(pGC);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions