From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/1] tst_test.h: Include common headers to fix missing function declaration
Date: Mon, 15 Apr 2019 13:39:37 +0200 [thread overview]
Message-ID: <20190415113907.GA9404@rei> (raw)
In-Reply-To: <20190414130329.14607-1-pvorel@suse.cz>
Hi!
> [1] https://patchwork.ozlabs.org/patch/1084064/
> [2] https://patchwork.ozlabs.org/patch/1084370/
> ---
> include/tst_test.h | 18 +++++-------------
> 1 file changed, 5 insertions(+), 13 deletions(-)
>
> diff --git a/include/tst_test.h b/include/tst_test.h
> index cf2447fe3..69629caff 100644
> --- a/include/tst_test.h
> +++ b/include/tst_test.h
> @@ -1,18 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright (c) 2015-2016 Cyril Hrubis <chrubis@suse.cz>
> - *
> - * 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 will 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, see <http://www.gnu.org/licenses/>.
> + * Copyright (c) Linux Test Project, 2016-2019
> */
>
> #ifndef TST_TEST_H__
> @@ -24,6 +13,9 @@
>
> #include <unistd.h>
> #include <limits.h>
> +#include <string.h>
> +#include <strings.h>
> +#include <stdlib.h>
Can we please get rid of the deprecated functions from strings.h instead
of simply including it?
> #include "tst_common.h"
> #include "tst_res_flags.h"
> --
> 2.20.1
>
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2019-04-15 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-14 13:03 [LTP] [PATCH 1/1] tst_test.h: Include common headers to fix missing function declaration Petr Vorel
2019-04-15 2:13 ` =?unknown-8bit?b?6Ziu5q2j5pe6?=
2019-04-15 11:39 ` Cyril Hrubis [this message]
2019-04-15 12:06 ` Petr Vorel
2019-04-15 12:40 ` Cyril Hrubis
2019-04-15 13:51 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190415113907.GA9404@rei \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox