]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
graphite: fix warning about gnu extension usage
authorEric Leblond <eric@regit.org>
Fri, 18 Jan 2013 20:11:09 +0000 (21:11 +0100)
committerEric Leblond <eric@regit.org>
Fri, 18 Jan 2013 20:11:09 +0000 (21:11 +0100)
clang is complaining about missing = being a gnu extension. This
patch adds equal sign to fix the warning.

output/ulogd_output_GRAPHITE.c

index 25b578e204a9d3d779c25382444f2a72b8b9ce06..a4b31a569544f732ab182a90b703721e6686ba62 100644 (file)
@@ -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",
        },