From 9cae6b1c78725360d5fbf7c507559532104cead0 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 21 Feb 2017 18:46:05 -0500 Subject: Explicitly specify void argument to functions which take no arguments. --- src/gensvm_sparse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gensvm_sparse.c') diff --git a/src/gensvm_sparse.c b/src/gensvm_sparse.c index 1a9317e..dc4f8df 100644 --- a/src/gensvm_sparse.c +++ b/src/gensvm_sparse.c @@ -35,7 +35,7 @@ * * @return initialized GenSparse instance */ -struct GenSparse *gensvm_init_sparse() +struct GenSparse *gensvm_init_sparse(void) { struct GenSparse *sp = Malloc(struct GenSparse, 1); sp->nnz = 0; @@ -132,7 +132,6 @@ bool gensvm_could_sparse(double *A, long rows, long cols) return gensvm_nnz_comparison(nnz, rows, cols); } - /** * @brief Convert a dense matrix to a GenSparse structure if advantageous * -- cgit v1.2.3