From: Magnus Jacobsson Date: Sun, 1 Aug 2021 11:54:56 +0000 (+0200) Subject: neatogen: remove duplicate declaration of drand48 in neatosplines.c X-Git-Tag: 2.49.0~4^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca36c20d21920896f902152966a7a3e4da102bb3;p=graphviz neatogen: remove duplicate declaration of drand48 in neatosplines.c drand48 is already declared in lib/common/utils.h. Removes this warning: C:/Users/magja/graphviz/lib/neatogen/neatosplines.c:20:15: warning: 'drand48' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 20 | extern double drand48(void); | ^~~~~~~ --- diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index 0bd0a44bb..1c8da34db 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -16,9 +16,6 @@ #include #include #include -#ifndef HAVE_DRAND48 -extern double drand48(void); -#endif #ifdef ORTHO #include