[1/5] support: Remove #include <config.h>
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
fail
|
Patch failed to apply
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
fail
|
Patch failed to apply
|
Commit Message
This is not needed: include/intprops.h has its own detection logic.
It makes building these files outside of glibc easer.
---
support/timespec-add.c | 1 -
support/timespec-sub.c | 1 -
2 files changed, 2 deletions(-)
Comments
On 16/08/24 09:34, Florian Weimer wrote:
> This is not needed: include/intprops.h has its own detection logic.
> It makes building these files outside of glibc easer.
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> ---
> support/timespec-add.c | 1 -
> support/timespec-sub.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/support/timespec-add.c b/support/timespec-add.c
> index 55fd812f31..57b968c316 100644
> --- a/support/timespec-add.c
> +++ b/support/timespec-add.c
> @@ -20,7 +20,6 @@
> /* Return the sum of two timespec values A and B. On overflow, return
> an extremal value. This assumes 0 <= tv_nsec < TIMESPEC_HZ. */
>
> -#include <config.h>
> #include "timespec.h"
>
> #include "intprops.h"
> diff --git a/support/timespec-sub.c b/support/timespec-sub.c
> index 7d89c1415a..2897343fce 100644
> --- a/support/timespec-sub.c
> +++ b/support/timespec-sub.c
> @@ -21,7 +21,6 @@
> overflow, return an extremal value. This assumes 0 <= tv_nsec <
> TIMESPEC_HZ. */
>
> -#include <config.h>
> #include "timespec.h"
>
> #include "intprops.h"
@@ -20,7 +20,6 @@
/* Return the sum of two timespec values A and B. On overflow, return
an extremal value. This assumes 0 <= tv_nsec < TIMESPEC_HZ. */
-#include <config.h>
#include "timespec.h"
#include "intprops.h"
@@ -21,7 +21,6 @@
overflow, return an extremal value. This assumes 0 <= tv_nsec <
TIMESPEC_HZ. */
-#include <config.h>
#include "timespec.h"
#include "intprops.h"