diff mbox series

[libubootenv] uboot_env: remove <pthread.h> header file

Message ID 1559651131-30569-1-git-send-email-pjtexier@koncepto.io
State Accepted
Headers show
Series [libubootenv] uboot_env: remove <pthread.h> header file | expand

Commit Message

'Darko Komljenovic' via swupdate June 4, 2019, 12:25 p.m. UTC
<pthread.h> include doesn't seem to be necessary inside the library.
So, drop the header completely.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
---
 src/uboot_env.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stefano Babic June 4, 2019, 1:32 p.m. UTC | #1
On 04/06/19 14:25, 'Pierre-Jean Texier' via swupdate wrote:
> <pthread.h> include doesn't seem to be necessary inside the library.
> So, drop the header completely.
> 
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> ---
>  src/uboot_env.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/uboot_env.c b/src/uboot_env.c
> index e8483bf..3f1bb3b 100644
> --- a/src/uboot_env.c
> +++ b/src/uboot_env.c
> @@ -24,7 +24,6 @@
>  #include <fcntl.h>
>  #include <errno.h>
>  #include <ctype.h>
> -#include <pthread.h>
>  #include <signal.h>
>  #include <sys/file.h>
>  #include <sys/types.h>
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/src/uboot_env.c b/src/uboot_env.c
index e8483bf..3f1bb3b 100644
--- a/src/uboot_env.c
+++ b/src/uboot_env.c
@@ -24,7 +24,6 @@ 
 #include <fcntl.h>
 #include <errno.h>
 #include <ctype.h>
-#include <pthread.h>
 #include <signal.h>
 #include <sys/file.h>
 #include <sys/types.h>