diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-21 22:36:21 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-21 22:36:21 +0100 |
commit | 7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33 (patch) | |
tree | 5efbbb0accdce7586dfe518f3ea0c00a6e8a9c43 /content/fetchers/resource.c | |
parent | 3488e337b64f7444f3021ca98f391d4ded3326e4 (diff) | |
download | netsurf-7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33.tar.gz netsurf-7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33.tar.bz2 |
Split utils header into string functions and everything else
split out the string handling API from the rest of the utils header
and fix up all the fallout.
Diffstat (limited to 'content/fetchers/resource.c')
-rw-r--r-- | content/fetchers/resource.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/content/fetchers/resource.c b/content/fetchers/resource.c index 2db414d68..4dfac5c6a 100644 --- a/content/fetchers/resource.c +++ b/content/fetchers/resource.c @@ -21,27 +21,15 @@ * resource scheme URL handling. Based on the data fetcher by Rob Kendrick */ -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> -#include <unistd.h> -#include <assert.h> -#include <errno.h> +#include <stdlib.h> #include <stdbool.h> -#include <inttypes.h> #include <string.h> -#include <strings.h> -#include <time.h> #include <stdio.h> -#include <limits.h> #include <stdarg.h> - #include <libwapcaplet/libwapcaplet.h> -#include "utils/dirent.h" -#include "utils/errors.h" +#include "utils/nsurl.h" #include "utils/corestrings.h" -#include "utils/nsoption.h" #include "utils/log.h" #include "utils/messages.h" #include "utils/utils.h" @@ -52,7 +40,6 @@ #include "content/fetch.h" #include "content/fetchers.h" #include "content/fetchers/resource.h" -#include "content/urldb.h" #define DIRECT_ETAG_VALUE 123456 |