From patchwork Wed Nov 25 17:54:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Champetier X-Patchwork-Id: 548686 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 55DAD1402C2 for ; Thu, 26 Nov 2015 05:01:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Rw13v6kC; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 5E03828C13E; Wed, 25 Nov 2015 18:56:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id C196328A6D7 for ; Wed, 25 Nov 2015 18:55:12 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wm0-f51.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Wed, 25 Nov 2015 18:55:04 +0100 (CET) Received: by wmww144 with SMTP id w144so190305507wmw.1 for ; Wed, 25 Nov 2015 09:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Xjjrw1XgxD/iFINrVrt+rUcGB47i0aze1niZmlgoKC8=; b=Rw13v6kCutkxd/nhY4+fPrmIFn8rHgfHuFPdMXAY5jZig2rt47bkp8XwaNQMzaY2/4 lWaeT1A84w+UwNXvm727KOWqMZXU8yxETziBF51647tvwMpQg6mVg3//iqW9jEy233NI l35GZ5NGZrHKlnEHmQetb5ioUhwAWB7zsyE7o5Wknkgbz05kc+oH141RPoxtuO0cjCaG kPRZ+pelcpfwMn9E2cLZM7/imaMKybzCCVTbWwmafHesL/CT7jWsEX/8nDtuYBpO0nmu HZUZ3yzxVPXkFAMJlQ+WQE7nqZ1RX30v9Eq/fR9bj81uJFV38q/tN7qIYov+yaDgBQuX wsCw== X-Received: by 10.194.200.5 with SMTP id jo5mr44468908wjc.79.1448474104763; Wed, 25 Nov 2015 09:55:04 -0800 (PST) Received: from ubuntu1404.lxcnattst (ns623510.ovh.net. [5.135.134.9]) by smtp.gmail.com with ESMTPSA id cv3sm24180221wjc.20.2015.11.25.09.55.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Nov 2015 09:55:03 -0800 (PST) From: Etienne CHAMPETIER To: OpenWrt Development List Date: Wed, 25 Nov 2015 17:54:39 +0000 Message-Id: <1448474090-30280-7-git-send-email-champetier.etienne@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448474090-30280-1-git-send-email-champetier.etienne@gmail.com> References: <1448474090-30280-1-git-send-email-champetier.etienne@gmail.com> Subject: [OpenWrt-Devel] [PATCH procd v2 06/17] ujail: add to log.h X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" headers must include all there dependencies, no more, no less (it uses fprintf) Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 1 - jail/jail.c | 1 - jail/log.h | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index fb046b4..6d36215 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/jail/jail.c b/jail/jail.c index 52f88ef..7349a05 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/jail/log.h b/jail/log.h index 89e797b..0da3f2e 100644 --- a/jail/log.h +++ b/jail/log.h @@ -13,6 +13,7 @@ #pragma once extern int debug; +#include #include #define INFO(fmt, ...) do { \