From: Matthew Fernandez Date: Wed, 22 Dec 2021 16:15:29 +0000 (-0800) Subject: prototype osage_layout and osage_cleanup in osage.h X-Git-Tag: 3.0.0~102^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71c8e790559d1dc6a699d27541ebde118b359815;p=graphviz prototype osage_layout and osage_cleanup in osage.h These are the only functions lib/osage exports. Yet neither were prototyped in a header. It seems like this header could now be #included in plugin/neato_layout/gvlayout_neato_layout.c, removing the need for that file to prototype these functions. Except that it gives slightly different prototypes for them. --- diff --git a/lib/osage/osage.h b/lib/osage/osage.h index 39614e240..799ef74b6 100644 --- a/lib/osage/osage.h +++ b/lib/osage/osage.h @@ -10,10 +10,15 @@ #pragma once +#include + #ifdef __cplusplus extern "C" { #endif +void osage_layout(Agraph_t *g); +void osage_cleanup(Agraph_t *g); + #ifdef __cplusplus } #endif