Index: /issm/trunk/src/c/toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp
===================================================================
--- /issm/trunk/src/c/toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp	(revision 10086)
+++ /issm/trunk/src/c/toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp	(revision 10087)
@@ -23,4 +23,5 @@
 
 
+
 	/*setup options: */
 	METIS_SetDefaultOptions(options);
@@ -39,4 +40,5 @@
 	options[METIS_OPTION_NCUTS]   = 1;
 
+
 	/*create eptr: */
 	eptr=(idx_t*)xmalloc((*pnumberofelements+1)*sizeof(idx_t));
@@ -47,4 +49,5 @@
 	}
 
+
 	/*create tpwgts: */
 	tpwgts=(real_t*)xmalloc(*pnum_procs*sizeof(real_t));
@@ -53,7 +56,10 @@
 	}
 
+
 	METIS_PartMeshNodal(pnumberofelements,pnumberofnodes, eptr, index,
 			NULL, NULL, pnum_procs, tpwgts, options, &objval,
 			epart, npart);
+	
+
 	#else
 	_error_("METIS version not supported yet");
Index: /issm/trunk/src/c/toolkits/metis/patches/metispatches.h
===================================================================
--- /issm/trunk/src/c/toolkits/metis/patches/metispatches.h	(revision 10086)
+++ /issm/trunk/src/c/toolkits/metis/patches/metispatches.h	(revision 10087)
@@ -14,7 +14,5 @@
 void METIS_PartMeshNodalPatch(int *, int *, int *, int *, int *, int *, int *, int *, int *); //Common interface we are using in ISSM.
 
-#ifdef __cplusplus
 extern "C" {
-#endif
 
 #if _METIS_VERSION_ == 4
@@ -23,10 +21,8 @@
 #if _METIS_VERSION_ == 5
 int METIS_PartMeshNodal(idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, idx_t*, real_t*, idx_t*, idx_t*, idx_t*, idx_t*);
+int METIS_SetDefaultOptions(idx_t *options);
 #endif
 
-#ifdef __cplusplus
 }
-#endif
-
 
 #endif
