From patchwork Sat Jan 19 09:53:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Leblond X-Patchwork-Id: 213809 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 7D0622C007C for ; Sat, 19 Jan 2013 20:54:42 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890Ab3ASJyj (ORCPT ); Sat, 19 Jan 2013 04:54:39 -0500 Received: from ks28632.kimsufi.com ([91.121.96.152]:37682 "EHLO ks28632.kimsufi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751906Ab3ASJyh (ORCPT ); Sat, 19 Jan 2013 04:54:37 -0500 Received: from ip-37-24-162-232.unitymediagroup.de ([37.24.162.232] helo=localhost.localdomain) by ks28632.kimsufi.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TwV8G-0006Eb-Lq; Sat, 19 Jan 2013 10:54:36 +0100 From: Eric Leblond To: netfilter-devel@vger.kernel.org Cc: eric@regit.org Subject: [PATCH 4/4] graphite: fix warning about gnu extension usage Date: Sat, 19 Jan 2013 10:53:51 +0100 Message-Id: <1358589231-1358-5-git-send-email-eric@regit.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1358589231-1358-1-git-send-email-eric@regit.org> References: <1358589231-1358-1-git-send-email-eric@regit.org> Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org clang is complaining about missing = being a gnu extension. This patch adds equal sign to fix the warning. Signed-off-by: Eric Leblond --- output/ulogd_output_GRAPHITE.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/output/ulogd_output_GRAPHITE.c b/output/ulogd_output_GRAPHITE.c index 25b578e..a4b31a5 100644 --- a/output/ulogd_output_GRAPHITE.c +++ b/output/ulogd_output_GRAPHITE.c @@ -42,19 +42,19 @@ enum { static struct ulogd_key graphite_inp[] = { - [KEY_SUM_NAME] { + [KEY_SUM_NAME] = { .type = ULOGD_RET_STRING, .name = "sum.name", }, - [KEY_SUM_PKTS] { + [KEY_SUM_PKTS] = { .type = ULOGD_RET_UINT64, .name = "sum.pkts", }, - [KEY_SUM_BYTES] { + [KEY_SUM_BYTES] = { .type = ULOGD_RET_UINT64, .name = "sum.bytes", }, - [KEY_OOB_TIME_SEC] { + [KEY_OOB_TIME_SEC] = { .type = ULOGD_RET_UINT32, .name = "oob.time.sec", },