From 460b6c829cfdd999301ec1a01374da9062630dc3 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 29 Dec 2015 09:30:20 +0100 Subject: [PATCH] client: remove incomplete commented examples --- src/client/jansson_writer.c | 30 ------------------------------ src/client/jsonc_writer.c | 30 ------------------------------ 2 files changed, 60 deletions(-) diff --git a/src/client/jansson_writer.c b/src/client/jansson_writer.c index d367f8cd..42275c2a 100644 --- a/src/client/jansson_writer.c +++ b/src/client/jansson_writer.c @@ -29,36 +29,6 @@ #include "../compat/compat.h" #include "../log.h" -/* - * { lldp: - * { interface: [ - - * { chassis: - * { id: { type: "mac", value: "60:eb:69:ce:6e:a0" }, - * name: "guybrush", - * descr: "Debian GNU/Linux 7.0 (wheezy)", - * capability: [{type: "bridge", enabled: true}, {type: "router", enabled: false}] }, -* -* -* 60:eb:69:ce:6e:a0 -* guybrush.luffy.cx -* Debian GNU/Linux 7.0 (wheezy) Linux 3.5-trunk-amd64 #1 SMP Debian 3.5.5-1~experimental.1 x86_64 -* 192.168.116.3 -* -* -* -* -* -* fe:86:6f:b6:1e:db -* port1 -* -* 10GigBaseR - R PCS/PMA, unknown PMD. -* -* -* -* -*/ - /* This list is used as a queue. The queue does not hold reference to the json_t * element except the first one. */ struct json_element { diff --git a/src/client/jsonc_writer.c b/src/client/jsonc_writer.c index 1e6d48ea..76a0f47a 100644 --- a/src/client/jsonc_writer.c +++ b/src/client/jsonc_writer.c @@ -30,36 +30,6 @@ #include "../compat/compat.h" #include "../log.h" -/* - * { lldp: - * { interface: [ - - * { chassis: - * { id: { type: "mac", value: "60:eb:69:ce:6e:a0" }, - * name: "guybrush", - * descr: "Debian GNU/Linux 7.0 (wheezy)", - * capability: [{type: "bridge", enabled: true}, {type: "router", enabled: false}] }, -* -* -* 60:eb:69:ce:6e:a0 -* guybrush.luffy.cx -* Debian GNU/Linux 7.0 (wheezy) Linux 3.5-trunk-amd64 #1 SMP Debian 3.5.5-1~experimental.1 x86_64 -* 192.168.116.3 -* -* -* -* -* -* fe:86:6f:b6:1e:db -* port1 -* -* 10GigBaseR - R PCS/PMA, unknown PMD. -* -* -* -* -*/ - /* This list is used as a queue. The queue does not hold reference to the json_t * element except the first one. */ struct json_element { -- 2.39.5