[PATCH] Remove duplicate headers
Peter Hutterer
peter.hutterer at who-t.net
Tue Feb 2 01:44:54 UTC 2021
On Mon, Feb 01, 2021 at 08:04:57PM +0100, Johan Korsnes wrote:
> The headers <stdio.h> and <unistd.h> were included twice.
>
> Signed-off-by: Johan Korsnes <johan.korsnes at gmail.com>
>
> ---
> I was unable to fork project on GitLab. It's stuck on "Forking in
> progress".
gitlab is currently being migrated to a different hosting provider, maybe
you just managed to pick the wrong time to fork? :)
If you still see this problem in a day or two, best to drop into
#freedesktop on freenode and ask what's going on.
Thanks for the patch, I've pushed this as 0d2918e38a now.
Cheers,
Peter
> ---
> evtest.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/evtest.c b/evtest.c
> index 15dbe81..e21e6af 100644
> --- a/evtest.c
> +++ b/evtest.c
> @@ -48,7 +48,6 @@
> #include <string.h>
> #include <fcntl.h>
> #include <unistd.h>
> -#include <stdio.h>
> #include <stdlib.h>
> #include <dirent.h>
> #include <errno.h>
> @@ -58,7 +57,6 @@
> #include <limits.h>
> #include <sys/time.h>
> #include <sys/types.h>
> -#include <unistd.h>
>
> #ifndef input_event_sec
> #define input_event_sec time.tv_sec
> --
> 2.17.1
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/input-tools
More information about the Input-tools
mailing list