]> granicus.if.org Git - graphviz/commit
more precise definition of vec_new
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Jun 2020 01:01:11 +0000 (18:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Jun 2020 01:40:22 +0000 (18:40 -0700)
commit31dbec0dbb2aa17535faf9093b15b26207497056
tree623a3424bfa6f6277e513c882795a9dc39142ca4
parentd63bae508623c88e182b7a6a64971f58c673ef97
more precise definition of vec_new

Unfortunately a definition/declaration with no parameters in older C is
ambiguous. Explicitly saying 'void' tells the compiler this takes no arguments.
This silences a -Wstrict-prototypes warning on GCC 8.3.
lib/common/routespl.c