From patchwork Sat Dec 29 04:17:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stephen hemminger X-Patchwork-Id: 208615 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BDFDC2C00EC for ; Sat, 29 Dec 2012 15:18:37 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751219Ab2L2ESc (ORCPT ); Fri, 28 Dec 2012 23:18:32 -0500 Received: from mail.vyatta.com ([76.74.103.46]:41219 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016Ab2L2ESb (ORCPT ); Fri, 28 Dec 2012 23:18:31 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id A1E6814102C6; Fri, 28 Dec 2012 20:18:30 -0800 (PST) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bw0K3rNzff7J; Fri, 28 Dec 2012 20:18:29 -0800 (PST) Received: from nehalam.linuxnetplumber.net (static-50-53-80-93.bvtn.or.frontiernet.net [50.53.80.93]) by mail.vyatta.com (Postfix) with ESMTPSA id 1217314102C4; Fri, 28 Dec 2012 20:18:29 -0800 (PST) Date: Fri, 28 Dec 2012 20:17:08 -0800 From: Stephen Hemminger To: Pablo Neira Ayuso , David Miller , netfilter-devel@vger.kernel.org Subject: [PATCH] netfilter: add include file to nf_conntrack_snmp.c Message-ID: <20121228201708.77f1c376@nehalam.linuxnetplumber.net> Organization: Vyatta Mime-Version: 1.0 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Prototype for nf_nat_snmp_hook is in nf_conntrack_snmp.h therefore it should be included to get type checking. Found by sparse. Signed-off-by: Stephen Hemminger --- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/net/netfilter/nf_conntrack_snmp.c 2012-10-25 09:11:15.711271681 -0700 +++ b/net/netfilter/nf_conntrack_snmp.c 2012-12-28 20:09:04.666030725 -0800 @@ -16,6 +16,7 @@ #include #include #include +#include #define SNMP_PORT 161