diff --git a/include/spm.h b/include/spm.h
index 58a9689dd1a10cc6289702d0319a7a4ef20e7145..dc66ea3dafa8803d4db944bef328c38d9b65f2f8 100644
--- a/include/spm.h
+++ b/include/spm.h
@@ -132,6 +132,8 @@ void        spmIntSort1Asc1( void * const pbase, const spm_int_t n );
 void        spmIntSort2Asc1( void * const pbase, const spm_int_t n );
 void        spmIntSort2Asc2( void * const pbase, const spm_int_t n );
 
+void        spmIntMSortIntAsc(void ** const pbase, const spm_int_t n);
+
 /**
  * @}
  * @name SPM IO subroutines
diff --git a/src/common.h b/src/common.h
index 76c22ea74ed8f519e894d4ecbb860b753506b3cb..896a9905d6aab4667da5f4f30053b2e1acd30171 100644
--- a/src/common.h
+++ b/src/common.h
@@ -111,6 +111,5 @@ spm_cleanenv( char *str ) {
 
 #endif
 
-
 #endif /* _spm_common_h_ */
 
diff --git a/src/spm_integers.c b/src/spm_integers.c
index 33d98444ff0f91ee83b573e017c1e1326bfc642d..573da54f4ecfb54b55203336e8b843d4411312ad 100644
--- a/src/spm_integers.c
+++ b/src/spm_integers.c
@@ -238,9 +238,6 @@ void spmIntSort3Asc1(void *const pbase, const spm_int_t n);
  *
  *******************************************************************************
  */
-/* Declare here for now, because unused */
-void spmIntMSortIntAsc(void ** const pbase, const spm_int_t n);
-
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 #define INTSORTNAME            spmIntMSortIntAsc
 #define INTSORTSIZE(x)         (sizeof (spm_int_t))
diff --git a/src/z_spm.h b/src/z_spm.h
index 27254c73f878723153392807c2053289aac3d90e..d00989fb01098b479a8c93c911db904ac4934de3 100644
--- a/src/z_spm.h
+++ b/src/z_spm.h
@@ -52,7 +52,7 @@ double z_spmNorm( int ntype, const spmatrix_t *spm );
 /**
  * Extra routines
  */
-void         z_spmSort( spmatrix_t *spm );
+void      z_spmSort( spmatrix_t *spm );
 spm_int_t z_spmMergeDuplicate( spmatrix_t *spm );
 spm_int_t z_spmSymmetrize( spmatrix_t *spm );
 
@@ -66,8 +66,8 @@ void z_spmDensePrint( FILE *f, spm_int_t m, spm_int_t n, const spm_complex64_t *
 void z_spmPrint( FILE *f, const spmatrix_t *spm );
 
 spmatrix_t *z_spmExpand(const spmatrix_t *spm);
-void          z_spmDofExtend(spmatrix_t *spm);
-void          z_spmScal( const double alpha, spmatrix_t *spm );
+void        z_spmDofExtend(spmatrix_t *spm);
+void        z_spmScal( const double alpha, spmatrix_t *spm );
 
 
 #endif /* _z_spm_h_ */