From: Matthew Fernandez Date: Fri, 8 Apr 2022 15:19:12 +0000 (-0700) Subject: mm2gv: make 'mm_get_type' static X-Git-Tag: 4.0.0~115^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e970dd0457bd9a927de9e474072fa9d054d2c09;p=graphviz mm2gv: make 'mm_get_type' static This function is unused outside of its containing file. --- diff --git a/cmd/tools/matrix_market.c b/cmd/tools/matrix_market.c index d0dabf827..e854d8155 100644 --- a/cmd/tools/matrix_market.c +++ b/cmd/tools/matrix_market.c @@ -16,7 +16,7 @@ #define MALLOC gmalloc #define REALLOC grealloc -int mm_get_type(MM_typecode typecode) +static int mm_get_type(MM_typecode typecode) { if (mm_is_complex(typecode)) { return MATRIX_TYPE_COMPLEX; diff --git a/cmd/tools/matrix_market.h b/cmd/tools/matrix_market.h index 0118ada0f..1ce587f43 100644 --- a/cmd/tools/matrix_market.h +++ b/cmd/tools/matrix_market.h @@ -12,5 +12,4 @@ #include "mmio.h" #include -int mm_get_type(MM_typecode typecode); SparseMatrix SparseMatrix_import_matrix_market(FILE * f, int format);