cleanup unneeded includes in utils.h after API simplification

This commit is contained in:
Vincent Sanders 2016-04-20 23:56:29 +01:00
parent dd31499bf9
commit f33d9dcc8c
7 changed files with 9 additions and 5 deletions

View File

@ -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"

View File

@ -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"

View File

@ -19,6 +19,7 @@
#ifdef WITH_INTERNAL_FONT_DRIVER
#include <assert.h>
#include <unistd.h>
#include "utils/utf8.h"

View File

@ -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>

View File

@ -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);

View File

@ -21,6 +21,7 @@
* NetSurf international domain name handling implementation.
*/
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>

View File

@ -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"