From patchwork Thu Mar 21 20:27:30 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: 160821 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp8474jan; Thu, 21 Mar 2019 13:27:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgmY+hJaa6e4K+waxTfwQlTdfCxDxkk5M1ZF7DdlRHbdfOxEmeFuRfmpjBzhHaNy4B0g1Y X-Received: by 2002:aa7:da09:: with SMTP id r9mr3761248eds.7.1553200069433; Thu, 21 Mar 2019 13:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553200069; cv=none; d=google.com; s=arc-20160816; b=a0P1FgoJcr05zBA9ZMTzL8WvFMvUuL5EjPvzeVRGKSMla5JsrZw1NMwDeEnIQRZWVP Lz3az55raytGGzfpx1doh7oCTPcRn5LkiOIxCiDJUIW5pdvDE66+ePX6EriOdAWny7fA UNgHG2DdHdER21eMxIedvwSAysHbOwRPK+1WZH9uZqE3P2ByWbrHl9K/zJBFZ7vNom1L wm/S8WbTFHlo3mvqvJ52pLyo8/aTdF8d3tkulkMcPYDgCYWZ59e2TDc9e3vKyKsKNz68 6JjaDLBaRYwJc+GNasRMRVd5keMqD9AnHDZ6SSFEqZGafdxxXBXvsmW25HKycuu3iMCB ruNQ== 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=h29TARS0rh8Z25B1hQQCDRQCDBVtJqfDPuG9AWQeNlwWqNznMCq3PSw5lDUQy4cMwy 3fB5lMZ98b8qhP25LY9w//5hm9PZyftnmurlCVg8KvrJ1GSiHaA0Cw3pg8ngiv0/OFrR Vw4dSaTlfEf7+K4LW2OFIPCszmisDQNUw1dAX7fnMuIAcnmY1R382/8dGPHlfbUnLL8V 0qHD98T47rNHGZlIkKlpJN5+rqrB2CFyfe/rZnMp99w7bMzSg1s1H/3fJKQeTHQhmTsR aZJn3wAEIeCNvbtFMv9O9G280DVAe4ZfGM5H6NYrij7ciYKSI9KAIJfIHzMemMRbGi/D D2Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ivMWZqQY; 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 p21si391973eja.65.2019.03.21.13.27.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 13:27:49 -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=ivMWZqQY; 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 09A053EA52F for ; Thu, 21 Mar 2019 21:27:49 +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 [IPv6:2001:4b78:1:20::4]) by picard.linux.it (Postfix) with ESMTP id B22FD3EA546 for ; Thu, 21 Mar 2019 21:27:41 +0100 (CET) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 51AED1000965 for ; Thu, 21 Mar 2019 21:27:39 +0100 (CET) Received: by mail-qt1-x834.google.com with SMTP id k14so161793qtb.0 for ; Thu, 21 Mar 2019 13:27:40 -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=ivMWZqQYSE2tEqzrnXk4hlsWxVsAHMbAgu3w3+/6L3ZbPrgWpv8VeMkmtiWJQ0nauI coqq2RsG/LUR2fTfrUK9bC1QR9jT5nk28ES1/FvX9xubqNAvne6WqvKzc+y3Oz2+3Lk/ kTl4DW8gpxl+OTPXiKrqp2YTacD06w9sFyiluYcKHH1jUVB9SfLOP1aCF+RFO4k4O+TY jhRFJAIURP4VGgAoz/RBvCBiiaAzXtfAslEqCF+Wpl7RezlptaX2U3/0qZDKMiJHDzZ6 X/Gdv9I6jjLy3OrzCVRMoS2Dz4FXqdjkB20977lgzEq1cyB9zcwGj2bN92I0x7dB4Fh+ wIqg== 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=RhNdamAmNHitJPREkB0iD/Ndcyaksdxb6xROjMGE4N0858VYqVJFgcurplIZJnKU5b Gxin3v7UFIZmbMP6LPCuVcXSyyTOJtb0o90W9hvLsP638QvAJjYuFScH2zXx2yQcrHuU +Z2onAUqeAcNA300gWziQkcbkeknbn5QXY3Rr7q9he9VdC8MbwXyO/hjmOFRPnC65/6x 569L2wA1ZM8KYUguppnqb7kWFo0gFKO1uNgkwST5fSc3KCSqNJR/oezSeCyKpLzxfqpK InSx+BMN40IJ8ADSLFXvG729oppbnCVPxyv7n2PDwWGvOHjLmqljzLM+zGMlL1vtL54j oNQA== X-Gm-Message-State: APjAAAUrEo0Wh3tI91AhcB4DwK/1LUpzX9hVXKh1Tv01YlfAAN6nv17j mWs8vlAXPQuCp02eVSww0IINQutDmmhBYo2p X-Received: by 2002:ac8:a81:: with SMTP id d1mr4934586qti.213.1553200059687; Thu, 21 Mar 2019 13:27:39 -0700 (PDT) Received: from workstation.celeiro.br ([191.177.184.97]) by smtp.gmail.com with ESMTPSA id n5sm107446qkk.4.2019.03.21.13.27.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 13:27:38 -0700 (PDT) From: Rafael David Tinoco To: ltp@lists.linux.it Date: Thu, 21 Mar 2019 17:27:30 -0300 Message-Id: <20190321202732.3331-2-rafael.tinoco@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190321202732.3331-1-rafael.tinoco@linaro.org> References: <20190321141015.GG1252@rei> <20190321202732.3331-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 v3 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__ */