From patchwork Mon Oct 12 17:10:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Smith, Stan" X-Patchwork-Id: 53176 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9CHEIlO010750 for ; Mon, 12 Oct 2009 17:14:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751015AbZJLRLF (ORCPT ); Mon, 12 Oct 2009 13:11:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753489AbZJLRLF (ORCPT ); Mon, 12 Oct 2009 13:11:05 -0400 Received: from mga01.intel.com ([192.55.52.88]:42701 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751015AbZJLRLE (ORCPT ); Mon, 12 Oct 2009 13:11:04 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 12 Oct 2009 10:04:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,547,1249282800"; d="scan'208";a="502360738" Received: from scsmith-mobl1.amr.corp.intel.com (HELO scsmithMOBL1) ([10.7.151.219]) by fmsmga002.fm.intel.com with ESMTP; 12 Oct 2009 10:02:12 -0700 From: "Stan C. Smith" To: "'Sasha Khapyorsky'" Cc: , "'linux-rdma'" Subject: [PATCH] osmtest - Add OSM_CDECL to main() declaration Date: Mon, 12 Oct 2009 10:10:28 -0700 Message-ID: <41F5872023464A3C8FD5828F037B4D77@amr.corp.intel.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpLXuVX0jetFDkHSlazpKx0g0SwVg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org 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 };