From: Wei Liu Subject: Re: [PATCH] libvchan: address compiler warnings Date: Wed, 4 Feb 2015 16:26:36 +0000 Message-ID: <20150204162636.GA4311@zion.uk.xensource.com> References: <54D251E4020000780005CF0E@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ2mn-0004fJ-9g for xen-devel@lists.xenproject.org; Wed, 04 Feb 2015 16:26:41 +0000 Content-Disposition: inline In-Reply-To: <54D251E4020000780005CF0E@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Ian Campbell , xen-devel , Wei Liu , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, Feb 04, 2015 at 04:07:48PM +0000, Jan Beulich wrote: > Both vchan_wr() and stdout_wr() should be defined with a non-empty > argument list (i.e. void). Additionally both of them as well as usage() > should be static to make clear that no other code is referencing them. > > Further, statements should follow declarations. > > Signed-off-by: Jan Beulich > Acked-by: Wei Liu