From patchwork Fri Mar 22 18:25:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael David Tinoco X-Patchwork-Id: 160952 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1113145jan; Fri, 22 Mar 2019 11:25:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAoEEvPzRKSShSp2aebypaxoHezardC3e1q/nNCGRcjqlnNH3nFwrSRL8+m0y5lNI+Ci7p X-Received: by 2002:a50:b646:: with SMTP id c6mr7426723ede.149.1553279143627; Fri, 22 Mar 2019 11:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553279143; cv=none; d=google.com; s=arc-20160816; b=r9t9j7Tmk4WjA9sJTnlLHxa3oVLXU9A672xzWzhFLsYQc2+nvzC1fw6ntiwiEjwV8A 8ex/ZPiZn+Qow80ncW+xsdxNApZPa9DErBDUSMBmypQQPGDveRPIxKeG5eUBAJEjFpDM WPiTE9Wi0w8VDoAdQpZme/L9dzBxzCdORKV5KMxFZ8kFts2j40Vy3q+HxIVbE5DPv+LV 9/B/Yt3AL/Cj30zI9p6L1ZLxVmlKBgueMXtpMw1PTwOV2warxmbmtxwOh+tG17FNVD1n I7pTdoVdj+2vo1oaQzNN1qfBRSwK8v0LchORj2RjbrwpITjgmOnv54XaF5sH+flmgLNi B1Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=7zyMgPTHcRoyLYsxOScy7TxtINZfG6xGcQcvXoJRA1E=; b=hmcievNCBl4jeIOK65rarAJRSySb4Yna2nUKtD4TX20Mpg3wrdICCnjzIBlPK66OCP TZIkjR6c+WHZoavfIZwgEykpD8NiZXwMpWKc9WEI2+aIvX2OJ/IBAA0qx4XTdJ1eVXPo otdm0QC5sUyHLdFBohGN85u0dVCMYWK2ZyPkala/oty9XxkW1d511pBYXSLnuaDIZQM3 ugrQvZoSnz6s1/+QsMSo7iTgRnn136WL5uFKbEVaDTW26FGqdn4WsuxudJeQy/OxmTZV 8eNTuULt7epIup1xP/IUtMuy0QHtbLTfc+v3zUd3SCH/Nn83Vfq4P9nbD8p9gfauRqPR mhsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lERiw8QJ; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from picard.linux.it (picard.linux.it. [213.254.12.146]) by mx.google.com with ESMTPS id y13si1478278edp.88.2019.03.22.11.25.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Mar 2019 11:25:43 -0700 (PDT) Received-SPF: pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) client-ip=213.254.12.146; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lERiw8QJ; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 2A6803EAEC0 for ; Fri, 22 Mar 2019 19:25:43 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4]) by picard.linux.it (Postfix) with ESMTP id D5A8B3EAFF3 for ; Fri, 22 Mar 2019 19:25:35 +0100 (CET) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id 792F11000C77 for ; Fri, 22 Mar 2019 19:25:33 +0100 (CET) Received: by mail-qt1-x82a.google.com with SMTP id y36so3623587qtb.3 for ; Fri, 22 Mar 2019 11:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3WlocdOdsYn8gs9dnwzr5LRnLfp7+rQtD7Yxr90CPis=; b=lERiw8QJX8yzs1w4I1UdOJg0pQuz14OYr6pgCKGUd0r/feY/XCiueTCftYUlArmVs+ L1rqoZgPPGX5qAyBFIV07IYs6J2dHzWFj4idI9tPwUtDfD2uF72S84jOJVpG/2MiXCF2 hhSM5/cEdqtg5uOwsLX5hcumYuoSF98qXCFPQCo/whSOrmJugMt6ydyonT36olxVLsGi Wm2o+rac7tHBNOhhZgapiRvbKt/FaurQiW6OGDZu+yCt06lUl+ns9b7yXxZvo//SyrZ1 b3fOQklEKDhWkPlAPb8wHzD6ZIbqS6nPEiXjCunJdXNekLTZahUry/efOW1I/XPNKY0K rQBA== 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=3WlocdOdsYn8gs9dnwzr5LRnLfp7+rQtD7Yxr90CPis=; b=G8rnE1r+s9AkmXt70yi4wyO5JjHyw2GFMR/ZB/DPPR4Sa3CaubHlgqNR5fOJD2nOB7 YLR6MKdd6l7Ubz61GoRFV+zF/QB55bMvuHg2i33qXDYM0nvbzoXbsfUZHjTS19UicaFP flzaNDk+gJF7APiJAqpXpmJMzv0TVKClYzCHbE4bHvr2ccgTy4WozuOFkfyNpAhuNEH5 fkhlETpnW+8+twAOwjb7w7uCPyVY2PRgrvVsZ68ReBvhCyLBCnlpqre4U85QHjEpJrv7 s9/Jqyx/ll6swlGfpW65VKvzVUx9/hnQ9stRN57gtZu5Q3L5Ij+XQoFXHOd7TqV5vRzt X0Jg== X-Gm-Message-State: APjAAAV6Z4ZoxjQIr6BE5WzujFukN4CW4zXJjukFLPsHvu14pzIMqr/E Jttjo7XWc/QVoXRSMa7BbrgRsTTU3qyainTe X-Received: by 2002:ac8:3f62:: with SMTP id w31mr9753018qtk.342.1553279133849; Fri, 22 Mar 2019 11:25:33 -0700 (PDT) Received: from workstation.celeiro.br ([191.177.184.97]) by smtp.gmail.com with ESMTPSA id h24sm7056241qte.50.2019.03.22.11.25.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Mar 2019 11:25:33 -0700 (PDT) From: Rafael David Tinoco To: ltp@lists.linux.it Date: Fri, 22 Mar 2019 15:25:24 -0300 Message-Id: <20190322182526.10353-2-rafael.tinoco@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190322182526.10353-1-rafael.tinoco@linaro.org> References: <20190322133425.GB20408@rei.lan> <20190322182526.10353-1-rafael.tinoco@linaro.org> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-4.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-4.smtp.seeweb.it Cc: rafael.tinoco@linaro.org Subject: [LTP] [PATCH v4 2/4] lib: Add include guard to tst_safe_clocks.h X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+patch=linaro.org@lists.linux.it Sender: "ltp" When adding a common header to my tests I missed this include guard when accidentally including tst_safe_clocks.h from .c and .h files. Since other tst_safe_*.h files have guards I thought it would be good to add to this one as well. Signed-off-by: Rafael David Tinoco --- include/tst_safe_clocks.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/tst_safe_clocks.h b/include/tst_safe_clocks.h index 596db4099..34ed953b4 100644 --- a/include/tst_safe_clocks.h +++ b/include/tst_safe_clocks.h @@ -5,6 +5,9 @@ * Email : code@zilogic.com */ +#ifndef TST_SAFE_CLOCKS_H__ +#define TST_SAFE_CLOCKS_H__ + #include #include #include "tst_test.h" @@ -70,3 +73,5 @@ static inline int safe_clock_adjtime(const char *file, const int lineno, #define SAFE_CLOCK_ADJTIME(clk_id, txc)\ safe_clock_adjtime(__FILE__, __LINE__, (clk_id), (txc)) + +#endif /* SAFE_CLOCKS_H__ */