From patchwork Sat Apr 10 13:18:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Khapyorsky X-Patchwork-Id: 91859 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3ADIBOl031777 for ; Sat, 10 Apr 2010 13:18:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751197Ab0DJNSF (ORCPT ); Sat, 10 Apr 2010 09:18:05 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:60129 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033Ab0DJNSE (ORCPT ); Sat, 10 Apr 2010 09:18:04 -0400 Received: by bwz1 with SMTP id 1so3074213bwz.21 for ; Sat, 10 Apr 2010 06:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :cc:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=XTWVJRmnjyVMqrtKTNePU6Bva9d1kvw9CrhB9ecvRNc=; b=an2844O3viil4t7JIXqnvw/0eLCuAjNBFVujoFzwWt3nJfuEwKnestOPi39OG6GPRd L/oRzMuRKbs03L5rq72YBvy8HySK42/MdoEheamwTqr+1yI93n5Yndx64qAfaBLy5cZ7 BL6//PbzagmedGgXy55NM+oZvavjSHOBEQsvw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=LaLW+Mxo9DGW/hJOf79FraBcW87mb4ITkdJQcp+0Dkco1d9qXzhMy2VeSTy+vlRGc4 kohOBGQq66tA2KAPbjzqxsL7/JGq8oJ6nZ08aBppna2yw/RKSrUTN4v3gu/sjXboouhh OZW90bbC9kk3qESCzS2gXhdVnieWe8l0KTuAA= Received: by 10.204.137.81 with SMTP id v17mr1620586bkt.93.1270905480668; Sat, 10 Apr 2010 06:18:00 -0700 (PDT) Received: from me.localdomain (85.64.35.106.dynamic.barak-online.net [85.64.35.106]) by mx.google.com with ESMTPS id 24sm19028374bkr.0.2010.04.10.06.17.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 10 Apr 2010 06:17:58 -0700 (PDT) Received: by me.localdomain (Postfix, from userid 1000) id 6D33C11F34; Sat, 10 Apr 2010 16:18:10 +0300 (IDT) Date: Sat, 10 Apr 2010 16:18:10 +0300 From: Sasha Khapyorsky To: Ira Weiny Cc: "linux-rdma@vger.kernel.org" , Hal Rosenstock Subject: [PATCH] libibmad: add explicit extern for ibdebug prototype Message-ID: <20100410131810.GR4808@me> References: <20100218124931.4d6ef34b.weiny2@llnl.gov> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100218124931.4d6ef34b.weiny2@llnl.gov> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 10 Apr 2010 13:18:11 +0000 (UTC) diff --git a/libibmad/include/infiniband/mad.h b/libibmad/include/infiniband/mad.h index 02ef551..0687c06 100644 --- a/libibmad/include/infiniband/mad.h +++ b/libibmad/include/infiniband/mad.h @@ -1031,7 +1031,7 @@ MAD_EXPORT ib_mad_dump_fn mad_dump_perfcounters_xmt_disc, mad_dump_perfcounters_rcv_err, mad_dump_portsamples_control; -MAD_EXPORT int ibdebug; +MAD_EXPORT extern int ibdebug; #if __BYTE_ORDER == __LITTLE_ENDIAN #ifndef ntohll