From: Matthew Fernandez Date: Sun, 16 May 2021 18:39:39 +0000 (-0700) Subject: mark new_attr_with_ref static X-Git-Tag: 2.47.3~29^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26a225d6af54e047ab7bb3ea4d112a1b33c964b7;p=graphviz mark new_attr_with_ref static This function is not used outside of its containing file. Squashes a -Wmissing-prototypes warning. --- diff --git a/cmd/smyrna/gui/frmobjectui.c b/cmd/smyrna/gui/frmobjectui.c index d61d2d949..1dfa8742c 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -77,7 +77,7 @@ attr_t *new_attr(void) } -attr_t *new_attr_with_ref(Agsym_t * sym) +static attr_t *new_attr_with_ref(Agsym_t * sym) { attr_t *attr = new_attr(); attr->name = safestrdup(sym->name);