mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
remove uneeded includes
This commit is contained in:
parent
6677eef89b
commit
706c92bf8f
@ -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)
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user