]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Include <libxml/tree.h> from a single place
authorDimitri Papadopoulos Orfanos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Sat, 6 Jan 2024 15:48:28 +0000 (16:48 +0100)
committerDimitri Papadopoulos Orfanos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Sat, 6 Jan 2024 15:48:28 +0000 (16:48 +0100)
<libxml/tree.h> used to be included both by "openconnect-internal.h"
and from *.c source files. We don't need both. Let's settle on including
from "openconnect-internal.h" only.

Signed-off-by: Dimitri Papadopoulos Orfanos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
auth-globalprotect.c
auth.c
xml.c

index e2a3ae4499d2654fb884656084bd2c517ce54817..f53b8a871fdecf9a6995564eb7cc98025ee2c7fc 100644 (file)
@@ -19,9 +19,6 @@
 
 #include "openconnect-internal.h"
 
-#include <libxml/parser.h>
-#include <libxml/tree.h>
-
 #include <ctype.h>
 #include <errno.h>
 
diff --git a/auth.c b/auth.c
index a449cfc03884afd3d57a177bfcbd7ea28eb79cd2..331706df54c49663793ba271c599d8b4f6a4cb5f 100644 (file)
--- a/auth.c
+++ b/auth.c
@@ -20,9 +20,6 @@
 
 #include "openconnect-internal.h"
 
-#include <libxml/parser.h>
-#include <libxml/tree.h>
-
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/stat.h>
diff --git a/xml.c b/xml.c
index 80217e0c01b3cc61e9f6f3502e715449771af6bd..4fa20039ab4948be9602044b115b13de0a86f2e6 100644 (file)
--- a/xml.c
+++ b/xml.c
@@ -20,9 +20,6 @@
 
 #include "openconnect-internal.h"
 
-#include <libxml/parser.h>
-#include <libxml/tree.h>
-
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>