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 |
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 --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>
<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(-)