]> granicus.if.org Git - graphviz/commit
Apply patch for C standards compliance:
authorellson <devnull@localhost>
Sun, 21 Dec 2008 14:26:46 +0000 (14:26 +0000)
committerellson <devnull@localhost>
Sun, 21 Dec 2008 14:26:46 +0000 (14:26 +0000)
commitaadba008ca0df87e92817149bb6ef8c15403175d
treebd327bbc208010c3483d99a9dd328e854eb273bb
parentea0ce2b6d9c1463be6038146063f016b489b54e4
Apply patch for C standards compliance:
"All declarations that
refer to the same object or function shall have compatible type;
otherwise, the behavior is undefined."  (That's from ISO/IEC 9899:TC2
final committee draft, section 6.2.7.)

This doesn't trigger issues with most C implementations, but there
is one implementation in development (GCC LTO branch) which does
flag this issue.

Patch from: Chris Demetriou <cgd@google.com>
plugin/dot_layout/gvplugin_dot_layout.c
plugin/gd/gvplugin_gd.c
plugin/gdiplus/gvplugin_gdiplus.cpp