From: Matthew Fernandez Date: Sun, 16 May 2021 18:40:39 +0000 (-0700) Subject: mark new_attr_ref static X-Git-Tag: 2.47.3~29^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d584c02f32e4c478620c6bc2a3b0290e0fc47c98;p=graphviz mark new_attr_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 1dfa8742c..5522d2713 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -101,7 +101,7 @@ static attr_t *new_attr_with_ref(Agsym_t * sym) return attr; } -attr_t *new_attr_ref(attr_t * refAttr) +static attr_t *new_attr_ref(attr_t * refAttr) { attr_t *attr = malloc(sizeof(attr_t)); *attr = *refAttr;