Message ID | 20210222224755.50742-2-stokito@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=KP4i7qtF; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HWY8chQh; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dky7d2yFgz9sS8 for <incoming@patchwork.ozlabs.org>; Tue, 23 Feb 2021 09:50:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QzxjkhLyv1H0RQpbB/s+5NQ7zXV1uUB+D0oBpS0NUz8=; b=KP4i7qtFqGSiVN+vkj4Z3Wi3N 6/5FsSk58V5hVhc4tWqd0XuzEq4TkQXIDChIRkzDw0Wuu3wsWQR0Mllgw7QvSDagLskEXx4pwfQ4x k529yCPwdxeOYNFEUVzzyg+vjbjKT/6qKde4degXggN5NKeX1qt7bDdguo9Va0nmjt35ugTogvjDS pCCuPXRK/8EhJbp+bRVgBe+JsjZRAxKkYQbAMVSDVqlrC0F6tv4Q1LhknKcrbAhO3EXVZ4d86EPn8 O9bJ6nLRDxn6ARa0ph/D4SOTGyjqcHdoemF/ehjZBB9YC9QsvT6KQtWNBqX2U1FGdtYx76hV8bHAn h+Yo1mJbw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEK0G-0000NS-Bi; Mon, 22 Feb 2021 22:48:32 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEK0B-0000L3-F9 for openwrt-devel@lists.openwrt.org; Mon, 22 Feb 2021 22:48:28 +0000 Received: by mail-ej1-x636.google.com with SMTP id u20so31112627ejb.7 for <openwrt-devel@lists.openwrt.org>; Mon, 22 Feb 2021 14:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=riCtKQtBOHBzh41x2ssYD69p119Cr7pY0Cw1sn6G2SA=; b=HWY8chQhIZlvdJpw5cByqfoT2DPUmmq968JSRCJz9B+OCPbX05vi4jqkCUalpOIOdm X6NoyC2YmRx/NWGkw56gWa6wWW+dLDFJEtLiaLx7ExPgtBe68RweXEymfFY9b1Y3JhGH kNDUjbf2udEJ3HsgKqFoceOKnNS16bzqVF2R7vS7JKr9yQvGXQZwYj8P6fZLkCbjBBoZ Ym+/0vCH5UcnTxANTIFAFu7skervPDv9siKJo6rGxX23zeKO839haAmjzrMHEvFhTRwZ kwUn3h0HIyudp26HwHbkJikoGne2E5C9N+NR0at9mG2N4Arg7NQ15fqjHsJJadGjNlvp vxxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=riCtKQtBOHBzh41x2ssYD69p119Cr7pY0Cw1sn6G2SA=; b=tRnc15mbRWe257QnX9cN7GA1TPpY1om69zgQeoHzgE6nt8UVVwqCQVZSITg1M2uolS ogEp819norhDewJO+8jMWRSDwhXsa7cFSW8f1wPhBq0RnTb2K551xE2bdieWTPxkT/WV vqxFY0kTT6+l7Z4yTamFz8Glr+UeaA4yPArUOmaU+LyVO6PkJbYHF0SHZ00eQJIJ/o/Y wtaFE9m++wXSayZsQ2ehp/uEpNimqUzgWlJp0p9p7o4wQ6QkBAG9xcap2SHcKE91F+Ud 8PCeIhGF1HnbRmi4TD8dE6x3WXPeUHrjcV4YDLO1nqwgMvZn8CgzLfq0GMM/Hw9IH5xT dSBg== X-Gm-Message-State: AOAM533JxTyRw6d9D/4N4S9FUOGZBrl6ooXFSR9A456he9uinJ8V413Y FE7rQ/YoESGkgrdZVEj9OuK009XrRNAYzw== X-Google-Smtp-Source: ABdhPJxw+pv/Nja/6eybvraHPBQggx1SMj0/5MVUQ/CepOELx1uNtgxtmTZkVSyurtaTdErrJHpyxg== X-Received: by 2002:a17:906:27d3:: with SMTP id k19mr18801735ejc.73.1614034104432; Mon, 22 Feb 2021 14:48:24 -0800 (PST) Received: from localhost.localdomain ([46.98.213.245]) by smtp.gmail.com with ESMTPSA id bn2sm11437918ejb.35.2021.02.22.14.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 14:48:24 -0800 (PST) From: Sergey Ponomarev <stokito@gmail.com> To: openwrt-devel@lists.openwrt.org Subject: [PATCH 1/3] jshn.c: remove old unsupported json lib Date: Tue, 23 Feb 2021 00:47:53 +0200 Message-Id: <20210222224755.50742-2-stokito@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210222224755.50742-1-stokito@gmail.com> References: <20210222224755.50742-1-stokito@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210222_174827_520696_6F45FA21 X-CRM114-Status: GOOD ( 12.14 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [stokito[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:636 listed in] [list.dnswl.org] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Cc: Sergey Ponomarev <stokito@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
jshn: load envs only on formatting
|
expand
|
diff --git a/jshn.c b/jshn.c index 1b685e5..061fc7f 100644 --- a/jshn.c +++ b/jshn.c @@ -13,11 +13,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef JSONC - #include <json.h> -#else - #include <json/json.h> -#endif +#include <json.h> #include <string.h> #include <stdlib.h>
Related to 791a361ad1b08fa56e554654109122b828657a2b Signed-off-by: Sergey Ponomarev <stokito@gmail.com> --- jshn.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)