summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-06-24 23:49:59 +0100
committerVincent Sanders <vince@kyllikki.org>2020-06-24 23:49:59 +0100
commitebe1b0511444e82830e8de239c34c6817817fba8 (patch)
tree62b03f2f06ed0fc279d2830f82a299d443583aea /content/handlers
parent2352bea1534c5cfe13018cbc04b9026f5dda60f7 (diff)
downloadnetsurf-ebe1b0511444e82830e8de239c34c6817817fba8.tar.gz
netsurf-ebe1b0511444e82830e8de239c34c6817817fba8.tar.bz2
improve desktop text search header usage
remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used.
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/css/css.c1
-rw-r--r--content/handlers/html/box_special.c1
-rw-r--r--content/handlers/html/box_textarea.c1
-rw-r--r--content/handlers/html/dom_event.c2
-rw-r--r--content/handlers/html/forms.c2
-rw-r--r--content/handlers/html/interaction.c1
-rw-r--r--content/handlers/image/png.c1
-rw-r--r--content/handlers/text/textplain.c1
8 files changed, 10 insertions, 0 deletions
diff --git a/content/handlers/css/css.c b/content/handlers/css/css.c
index 6bdc124e2..be945fb97 100644
--- a/content/handlers/css/css.c
+++ b/content/handlers/css/css.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <string.h>
#include <assert.h>
#include <libwapcaplet/libwapcaplet.h>
#include <dom/dom.h>
diff --git a/content/handlers/html/box_special.c b/content/handlers/html/box_special.c
index c6be9e626..f761557e0 100644
--- a/content/handlers/html/box_special.c
+++ b/content/handlers/html/box_special.c
@@ -26,6 +26,7 @@
* Implementation of special element handling conversion.
*/
+#include <string.h>
#include <stdbool.h>
#include <dom/dom.h>
diff --git a/content/handlers/html/box_textarea.c b/content/handlers/html/box_textarea.c
index 1038be31a..b3e3c3610 100644
--- a/content/handlers/html/box_textarea.c
+++ b/content/handlers/html/box_textarea.c
@@ -21,6 +21,7 @@
* Box tree treeview box replacement (implementation).
*/
+#include <string.h>
#include <dom/dom.h>
#include "utils/config.h"
diff --git a/content/handlers/html/dom_event.c b/content/handlers/html/dom_event.c
index d490cad77..71ef13861 100644
--- a/content/handlers/html/dom_event.c
+++ b/content/handlers/html/dom_event.c
@@ -22,6 +22,8 @@
* Implementation of HTML content DOM event handling.
*/
+#include <string.h>
+
#include "utils/config.h"
#include "utils/corestrings.h"
#include "utils/nsoption.h"
diff --git a/content/handlers/html/forms.c b/content/handlers/html/forms.c
index 08adf8d39..4669154e9 100644
--- a/content/handlers/html/forms.c
+++ b/content/handlers/html/forms.c
@@ -21,6 +21,8 @@
* HTML form handling implementation
*/
+#include <string.h>
+
#include "utils/config.h"
#include "utils/corestrings.h"
#include "utils/log.h"
diff --git a/content/handlers/html/interaction.c b/content/handlers/html/interaction.c
index 421535c69..90e7b7626 100644
--- a/content/handlers/html/interaction.c
+++ b/content/handlers/html/interaction.c
@@ -26,6 +26,7 @@
#include <assert.h>
#include <stdbool.h>
+#include <string.h>
#include <dom/dom.h>
diff --git a/content/handlers/image/png.c b/content/handlers/image/png.c
index 4926d9a27..06a38ca0f 100644
--- a/content/handlers/image/png.c
+++ b/content/handlers/image/png.c
@@ -19,6 +19,7 @@
*/
#include <stdbool.h>
+#include <string.h>
#include <stdlib.h>
#include <png.h>
diff --git a/content/handlers/text/textplain.c b/content/handlers/text/textplain.c
index b5ad0aec3..21876ec58 100644
--- a/content/handlers/text/textplain.c
+++ b/content/handlers/text/textplain.c
@@ -23,6 +23,7 @@
* plain text content handling implementation.
*/
+#include <string.h>
#include <parserutils/input/inputstream.h>
#include "utils/errors.h"