diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 23:56:29 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 23:56:29 +0100 |
commit | f33d9dcc8cd6b0e46908d506fda34eae398f0272 (patch) | |
tree | b4ccc64df84fffdeb2a1ae76324c6efc5da5fa91 | |
parent | dd31499bf969baa68e66fca81b9f95447b6f3f2a (diff) | |
download | netsurf-f33d9dcc8cd6b0e46908d506fda34eae398f0272.tar.gz netsurf-f33d9dcc8cd6b0e46908d506fda34eae398f0272.tar.bz2 |
cleanup unneeded includes in utils.h after API simplification
-rw-r--r-- | atari/cookies.c | 2 | ||||
-rw-r--r-- | atari/history.c | 1 | ||||
-rw-r--r-- | atari/plot/font_internal.c | 1 | ||||
-rw-r--r-- | atari/plot/plot.c | 1 | ||||
-rw-r--r-- | atari/settings.c | 3 | ||||
-rw-r--r-- | utils/idna.c | 1 | ||||
-rw-r--r-- | utils/utils.h | 5 |
7 files changed, 9 insertions, 5 deletions
diff --git a/atari/cookies.c b/atari/cookies.c index 1f0aa441d..6019b4730 100644 --- a/atari/cookies.c +++ b/atari/cookies.c @@ -16,6 +16,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <assert.h> + #include "utils/log.h" #include "utils/messages.h" #include "desktop/mouse.h" diff --git a/atari/history.c b/atari/history.c index 753f83559..ba72c7f00 100644 --- a/atari/history.c +++ b/atari/history.c @@ -16,6 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <assert.h> #include <inttypes.h> #include "utils/log.h" diff --git a/atari/plot/font_internal.c b/atari/plot/font_internal.c index 1578b39d6..89a56d0e5 100644 --- a/atari/plot/font_internal.c +++ b/atari/plot/font_internal.c @@ -19,6 +19,7 @@ #ifdef WITH_INTERNAL_FONT_DRIVER +#include <assert.h> #include <unistd.h> #include "utils/utf8.h" diff --git a/atari/plot/plot.c b/atari/plot/plot.c index ef5c30026..45e4cead2 100644 --- a/atari/plot/plot.c +++ b/atari/plot/plot.c @@ -16,6 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <assert.h> #include <sys/types.h> #include <stdint.h> #include <string.h> diff --git a/atari/settings.c b/atari/settings.c index 26e3667f1..3bfa4bbf8 100644 --- a/atari/settings.c +++ b/atari/settings.c @@ -17,6 +17,7 @@ * */ +#include <assert.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -978,7 +979,7 @@ void open_settings(void) void close_settings(void) { - LOG(""); + LOG("closing"); gemtk_wm_remove(settings_guiwin); settings_guiwin = NULL; wind_close(h_aes_win); diff --git a/utils/idna.c b/utils/idna.c index 545eff90d..a23801b43 100644 --- a/utils/idna.c +++ b/utils/idna.c @@ -21,6 +21,7 @@ * NetSurf international domain name handling implementation. */ +#include <assert.h> #include <stddef.h> #include <stdint.h> #include <stdlib.h> diff --git a/utils/utils.h b/utils/utils.h index 71316af1f..8bc8d3b28 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -18,7 +18,7 @@ */ /** - * \file utils/utils.h + * \file * \brief Interface to a number of general purpose functionality. * \todo Many of these functions and macros should have their own headers. */ @@ -28,10 +28,7 @@ #include <inttypes.h> #include <stdbool.h> -#include <stddef.h> #include <stdlib.h> -#include <sys/types.h> -#include <assert.h> #include <stdarg.h> #include "utils/errors.h" |