diff mbox

osmtest - Add OSM_CDECL to main() declaration

Message ID 41F5872023464A3C8FD5828F037B4D77@amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Smith, Stan Oct. 12, 2009, 5:10 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/osmtest/main.c b/opensm/osmtest/main.c
index 4bb9f82..287baf3 100644
--- a/opensm/osmtest/main.c
+++ b/opensm/osmtest/main.c
@@ -285,7 +285,7 @@  ib_net64_t get_port_guid(IN osmtest_t * p_osmt, uint64_t port_guid)
 
 /**********************************************************************
  **********************************************************************/
-int main(int argc, char *argv[])
+int OSM_CDECL main(int argc, char *argv[])
 {
 	static osmtest_t osm_test;
 	osmtest_opt_t opt = { 0 };