diff mbox series

swupdate-ipc: remove unused readline headers

Message ID 20211122031404.2201243-1-dominique.martinet@atmark-techno.com
State Accepted
Headers show
Series swupdate-ipc: remove unused readline headers | expand

Commit Message

Dominique MARTINET Nov. 22, 2021, 3:14 a.m. UTC
readline is not actually used, do not add a build dependency for it.

Headers can be added back when readline will actually be used

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
---
 tools/swupdate-ipc.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Stefano Babic Nov. 22, 2021, 8:41 a.m. UTC | #1
On 22.11.21 04:14, Dominique Martinet wrote:
> readline is not actually used, do not add a build dependency for it.
> 
> Headers can be added back when readline will actually be used
> 
> Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
> ---
>   tools/swupdate-ipc.c | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/tools/swupdate-ipc.c b/tools/swupdate-ipc.c
> index b70d78fa7df3..d8d7efe121a3 100644
> --- a/tools/swupdate-ipc.c
> +++ b/tools/swupdate-ipc.c
> @@ -29,9 +29,6 @@
>   #include <netdb.h>
>   #include <pthread.h>
>   #include <getopt.h>
> -#include <readline/readline.h>
> -#include <readline/history.h>
> -#include <getopt.h>
>   
>   #include "network_ipc.h"
>   #include <progress_ipc.h>
> 
Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/tools/swupdate-ipc.c b/tools/swupdate-ipc.c
index b70d78fa7df3..d8d7efe121a3 100644
--- a/tools/swupdate-ipc.c
+++ b/tools/swupdate-ipc.c
@@ -29,9 +29,6 @@ 
 #include <netdb.h>
 #include <pthread.h>
 #include <getopt.h>
-#include <readline/readline.h>
-#include <readline/history.h>
-#include <getopt.h>
 
 #include "network_ipc.h"
 #include <progress_ipc.h>