remove uneeded includes

This commit is contained in:
Vincent Sanders 2014-05-18 18:51:18 +01:00
parent 6677eef89b
commit 706c92bf8f
5 changed files with 10 additions and 8 deletions

View File

@ -19,14 +19,16 @@
#include <stdlib.h>
#include "content/urldb.h"
#include "desktop/global_history.h"
#include "desktop/treeview.h"
#include "utils/messages.h"
#include "utils/utils.h"
#include "utils/utf8.h"
#include "utils/libdom.h"
#include "utils/log.h"
#include "content/urldb.h"
#include "desktop/global_history.h"
#include "desktop/treeview.h"
#include "desktop/browser.h"
#define N_DAYS 28
#define N_SEC_PER_DAY (60 * 60 * 24)

View File

@ -22,12 +22,12 @@
#include <stdbool.h>
#include <stdint.h>
#include "desktop/browser.h"
#include "desktop/core_window.h"
#include "desktop/textinput.h"
#include "utils/errors.h"
#include "utils/nsurl.h"
enum browser_mouse_state;
/**
* Initialise the global history.
@ -92,7 +92,7 @@ void global_history_redraw(int x, int y, struct rect *clip,
* \param x X coordinate
* \param y Y coordinate
*/
void global_history_mouse_action(browser_mouse_state mouse, int x, int y);
void global_history_mouse_action(enum browser_mouse_state mouse, int x, int y);
/**
* Key press handling.

View File

@ -26,6 +26,7 @@
#include "content/urldb.h"
#include "desktop/hotlist.h"
#include "desktop/treeview.h"
#include "desktop/browser.h"
#include "utils/corestrings.h"
#include "utils/messages.h"
#include "utils/utils.h"

View File

@ -22,12 +22,12 @@
#include <stdbool.h>
#include <stdint.h>
#include "desktop/browser.h"
#include "desktop/core_window.h"
#include "desktop/textinput.h"
#include "utils/errors.h"
#include "utils/nsurl.h"
enum browser_mouse_state;
/**
* Initialise the hotlist.
@ -183,7 +183,7 @@ void hotlist_redraw(int x, int y, struct rect *clip,
* \param x X coordinate
* \param y Y coordinate
*/
void hotlist_mouse_action(browser_mouse_state mouse, int x, int y);
void hotlist_mouse_action(enum browser_mouse_state mouse, int x, int y);
/**
* Key press handling.

View File

@ -24,7 +24,6 @@
#include <stdbool.h>
#include <stdint.h>
#include "desktop/browser.h"
#include "desktop/core_window.h"
#include "desktop/textinput.h"
#include "utils/errors.h"