[ofw] [PATCH] osmtest - Add OSM_CDECL to main() declaration

Stan C. Smith stan.smith at intel.com
Mon Oct 12 10:10:28 PDT 2009



Signed-off-by: stan smith <stan.smith at intel.com>

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 };




More information about the ofw mailing list