From patchwork Mon Feb 25 23:43:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1048021 X-Patchwork-Delegate: petr.vorel@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 447dp448nLz9s3l for ; Tue, 26 Feb 2019 10:44:25 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 329823EA36C for ; Tue, 26 Feb 2019 00:44:15 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.5]) by picard.linux.it (Postfix) with ESMTP id 40A623EA2A9 for ; Tue, 26 Feb 2019 00:44:13 +0100 (CET) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id C296A600711 for ; Tue, 26 Feb 2019 00:44:14 +0100 (CET) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F27FAAE20 for ; Mon, 25 Feb 2019 23:44:12 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 26 Feb 2019 00:43:59 +0100 Message-Id: <20190225234359.8165-2-pvorel@suse.cz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190225234359.8165-1-pvorel@suse.cz> References: <20190225234359.8165-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-5.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=7.0 tests=SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-5.smtp.seeweb.it Subject: [LTP] [PATCH 2/2] lapi/posix_clocks.h: Include before definitions 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+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" + minor formatting fixes (include guards, copyright). Signed-off-by: Petr Vorel --- include/lapi/posix_clocks.h | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/include/lapi/posix_clocks.h b/include/lapi/posix_clocks.h index 7819bb9c0..0d1f0e99c 100644 --- a/include/lapi/posix_clocks.h +++ b/include/lapi/posix_clocks.h @@ -1,23 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* + * Copyright (c) 2019, Linux Test Project * Copyright (c) 2013 Cyril Hrubis - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it would be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __POSIX_CLOCK_IDS_H__ -#define __POSIX_CLOCK_IDS_H__ +#include + +#ifndef POSIX_CLOCKS_H__ +#define POSIX_CLOCKS_H__ #ifndef CLOCK_MONOTONIC_RAW # define CLOCK_MONOTONIC_RAW 4 @@ -43,4 +33,4 @@ # define CLOCK_BOOTTIME_ALARM 9 #endif -#endif /* __POSIX_CLOCK_IDS_H__ */ +#endif /* POSIX_CLOCKS_H__ */