diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/IO/IO.c | 5 | ||||
-rw-r--r-- | src/IO/IO.h | 3 | ||||
-rw-r--r-- | src/IO/dpi.c | 3 | ||||
-rw-r--r-- | src/IO/http.c | 2 | ||||
-rw-r--r-- | src/IO/mime.h | 1 | ||||
-rw-r--r-- | src/bookmark.c | 3 | ||||
-rw-r--r-- | src/bw.h | 2 | ||||
-rw-r--r-- | src/cache.c | 3 | ||||
-rw-r--r-- | src/cookies.c | 1 | ||||
-rw-r--r-- | src/css.cc | 1 | ||||
-rw-r--r-- | src/cssparser.cc | 1 | ||||
-rw-r--r-- | src/dicache.c | 2 | ||||
-rw-r--r-- | src/dns.c | 2 | ||||
-rw-r--r-- | src/html.cc | 1 | ||||
-rw-r--r-- | src/image.cc | 3 | ||||
-rw-r--r-- | src/menu.cc | 2 | ||||
-rw-r--r-- | src/misc.c | 1 | ||||
-rw-r--r-- | src/plain.cc | 3 | ||||
-rw-r--r-- | src/png.c | 4 | ||||
-rw-r--r-- | src/prefsparser.cc | 3 | ||||
-rw-r--r-- | src/styleengine.cc | 3 | ||||
-rw-r--r-- | src/ui.cc | 1 | ||||
-rw-r--r-- | src/url.c | 2 | ||||
-rw-r--r-- | src/url.h | 1 | ||||
-rw-r--r-- | src/web.cc | 4 | ||||
-rw-r--r-- | src/xembed.cc | 1 |
26 files changed, 1 insertions, 57 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c index 77790131..ddcbe2e7 100644 --- a/src/IO/IO.c +++ b/src/IO/IO.c @@ -13,14 +13,9 @@ * Dillo's event driven IO engine */ -#include <stdio.h> -#include <string.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> -#include <sys/stat.h> -#include <sys/uio.h> -#include <sys/socket.h> #include "../msg.h" #include "../chain.h" #include "../klist.h" diff --git a/src/IO/IO.h b/src/IO/IO.h index 65b032f5..b75488c2 100644 --- a/src/IO/IO.h +++ b/src/IO/IO.h @@ -1,9 +1,6 @@ #ifndef __IO_H__ #define __IO_H__ -#include <unistd.h> -#include <sys/uio.h> - #include "d_size.h" #include "../../dlib/dlib.h" #include "../chain.h" diff --git a/src/IO/dpi.c b/src/IO/dpi.c index ef77a88a..963b3a14 100644 --- a/src/IO/dpi.c +++ b/src/IO/dpi.c @@ -21,13 +21,10 @@ #include <unistd.h> #include <stdlib.h> #include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> #include <string.h> #include <stdio.h> #include <errno.h> /* for errno */ -#include <stdio.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> diff --git a/src/IO/http.c b/src/IO/http.c index ae87c8d0..84120a92 100644 --- a/src/IO/http.c +++ b/src/IO/http.c @@ -20,9 +20,7 @@ #include <unistd.h> #include <errno.h> /* for errno */ #include <stdlib.h> -#include <signal.h> #include <fcntl.h> -#include <sys/wait.h> #include <sys/socket.h> /* for lots of socket stuff */ #include <netinet/in.h> /* for ntohl and stuff */ #include <arpa/inet.h> /* for inet_ntop */ diff --git a/src/IO/mime.h b/src/IO/mime.h index 084cc933..0f20cf6d 100644 --- a/src/IO/mime.h +++ b/src/IO/mime.h @@ -13,7 +13,6 @@ #define __MIME_H__ #include <config.h> -#include <stddef.h> #ifdef __cplusplus extern "C" { diff --git a/src/bookmark.c b/src/bookmark.c index 588e51f8..9a594789 100644 --- a/src/bookmark.c +++ b/src/bookmark.c @@ -9,10 +9,7 @@ * (at your option) any later version. */ -#include <errno.h> -#include <stdio.h> #include <stdlib.h> -#include <string.h> #include "msg.h" #include "history.h" @@ -1,8 +1,6 @@ #ifndef __BW_H__ #define __BW_H__ -#include <sys/types.h> - #include "url.h" /* for DilloUrl */ /* diff --git a/src/cache.c b/src/cache.c index 8ac859ac..58f3c174 100644 --- a/src/cache.c +++ b/src/cache.c @@ -16,11 +16,8 @@ #include <ctype.h> /* for tolower */ #include <sys/types.h> -#include <sys/stat.h> #include <stdlib.h> #include <string.h> -#include <fcntl.h> -#include <unistd.h> #include "msg.h" #include "IO/Url.h" diff --git a/src/cookies.c b/src/cookies.c index 52364943..493f0e3f 100644 --- a/src/cookies.c +++ b/src/cookies.c @@ -34,7 +34,6 @@ void a_Cookies_init(void) #include <unistd.h> #include <stdlib.h> #include <stdio.h> -#include <time.h> /* for time() and time_t */ #include <ctype.h> #include "msg.h" @@ -10,7 +10,6 @@ */ #include <stdio.h> -#include <math.h> #include "../dlib/dlib.h" #include "misc.h" #include "html_common.hh" diff --git a/src/cssparser.cc b/src/cssparser.cc index 915a4cc6..073faa3e 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -18,7 +18,6 @@ #include <ctype.h> #include <stdlib.h> #include <stdio.h> -#include <string.h> #include "msg.h" #include "colors.h" diff --git a/src/dicache.c b/src/dicache.c index 8503cf66..6d301c31 100644 --- a/src/dicache.c +++ b/src/dicache.c @@ -9,9 +9,7 @@ * (at your option) any later version. */ -#include <sys/time.h> /* for libc5 compatibility */ #include <string.h> /* for memset */ -#include <stdio.h> #include <stdlib.h> #include "msg.h" @@ -21,10 +21,8 @@ #include <arpa/inet.h> #include <netinet/in.h> #include <errno.h> -#include <unistd.h> #include <stdlib.h> #include <stdio.h> -#include <signal.h> #include <string.h> #include "msg.h" diff --git a/src/html.cc b/src/html.cc index 86e5fe97..493290ff 100644 --- a/src/html.cc +++ b/src/html.cc @@ -20,7 +20,6 @@ #include <string.h> /* for memcpy and memmove */ #include <stdlib.h> #include <stdio.h> /* for sprintf */ -#include <math.h> /* for rint */ #include <errno.h> #include "bw.h" /* for BrowserWindow */ diff --git a/src/image.cc b/src/image.cc index 653d2ea1..c499d977 100644 --- a/src/image.cc +++ b/src/image.cc @@ -15,9 +15,6 @@ * of data from an Image to a DwImage widget. */ -#include <stdio.h> -#include <string.h> - #include "msg.h" #include "image.hh" diff --git a/src/menu.cc b/src/menu.cc index 9757f523..2e70b5fb 100644 --- a/src/menu.cc +++ b/src/menu.cc @@ -11,8 +11,6 @@ // Functions/Methods for menus -#include <stdio.h> -#include <stdarg.h> #include <fltk/events.h> #include <fltk/PopupMenu.h> #include <fltk/Item.h> @@ -12,7 +12,6 @@ #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <string.h> #include <ctype.h> diff --git a/src/plain.cc b/src/plain.cc index 4029c048..dfa1b5b5 100644 --- a/src/plain.cc +++ b/src/plain.cc @@ -13,9 +13,6 @@ * Module for decoding a text/plain object into a dw widget. */ -#include <string.h> /* for memcpy and memmove */ -#include <math.h> /* for rint() */ - #include "msg.h" #include "prefs.h" #include "cache.h" @@ -13,12 +13,8 @@ #include <config.h> #ifdef ENABLE_PNG -#include <stdio.h> -#include <string.h> #include <stdlib.h> /* For abort() */ -#include <zlib.h> - #ifdef HAVE_LIBPNG_PNG_H #include <libpng/png.h> #else diff --git a/src/prefsparser.cc b/src/prefsparser.cc index c3cf7a66..a3bbaef0 100644 --- a/src/prefsparser.cc +++ b/src/prefsparser.cc @@ -10,10 +10,7 @@ */ #include <sys/types.h> -#include <sys/stat.h> #include <stdlib.h> -#include <fcntl.h> -#include <unistd.h> #include <locale.h> /* for setlocale */ #include "prefs.h" diff --git a/src/styleengine.cc b/src/styleengine.cc index a7593c18..4839931c 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -9,8 +9,7 @@ * (at your option) any later version. */ -#include <stdio.h> -#include <math.h> +/* #include <stdio.h> */ #include "../dlib/dlib.h" #include "msg.h" #include "prefs.h" @@ -11,7 +11,6 @@ // UI for Dillo -#include <stdlib.h> #include <stdio.h> #include <fltk/HighlightButton.h> @@ -42,8 +42,6 @@ * - path is never "undefined" though it may be "empty". */ - -#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> @@ -10,7 +10,6 @@ #ifndef __URL_H__ #define __URL_H__ -#include <string.h> /* for strcmp */ #include "d_size.h" #include "../dlib/dlib.h" @@ -9,10 +9,6 @@ * (at your option) any later version. */ -#include <stdio.h> -#include <stdlib.h> -#include <math.h> /* for rint */ - #include "msg.h" #include "nav.h" diff --git a/src/xembed.cc b/src/xembed.cc index ee83ce3d..83143e8b 100644 --- a/src/xembed.cc +++ b/src/xembed.cc @@ -9,7 +9,6 @@ * (at your option) any later version. */ -#include <stdio.h> #include <string.h> #include <ctype.h> |