[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] futex: add missing header guards
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] futex: add missing header guards |
Date: |
Sat, 14 Oct 2017 13:30:50 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Cc: trivial
On 10/13/2017 06:30 PM, Emilio G. Cota wrote:
> The header file was introduced by fbcc3e5 ("qemu-thread: optimize QemuLockCnt
> with futexes on Linux", 2017-01-16) without header guards. Add them.
>
> Signed-off-by: Emilio G. Cota <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> include/qemu/futex.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/qemu/futex.h b/include/qemu/futex.h
> index bb7dc9e..91ae889 100644
> --- a/include/qemu/futex.h
> +++ b/include/qemu/futex.h
> @@ -11,6 +11,9 @@
> *
> */
>
> +#ifndef QEMU_FUTEX_H
> +#define QEMU_FUTEX_H
> +
> #include <sys/syscall.h>
> #include <linux/futex.h>
>
> @@ -34,3 +37,5 @@ static inline void qemu_futex_wait(void *f, unsigned val)
> }
> }
> }
> +
> +#endif /* QEMU_FUTEX_H */
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-trivial] [Qemu-devel] [PATCH] futex: add missing header guards,
Philippe Mathieu-Daudé <=