aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nav.c11
-rw-r--r--src/nav.h12
2 files changed, 11 insertions, 12 deletions
diff --git a/src/nav.c b/src/nav.c
index 705dbc23..bbe5cfc2 100644
--- a/src/nav.c
+++ b/src/nav.c
@@ -26,6 +26,17 @@
#include "debug.h"
/*
+ * For back and forward navigation, each bw keeps an url index,
+ * and its scroll position.
+ */
+typedef struct _nav_stack_item nav_stack_item;
+struct _nav_stack_item
+{
+ int url_idx;
+ int posx, posy;
+};
+
+/*
* Forward declarations
*/
static void Nav_reload(BrowserWindow *bw);
diff --git a/src/nav.h b/src/nav.h
index 63774019..3c80747b 100644
--- a/src/nav.h
+++ b/src/nav.h
@@ -9,18 +9,6 @@
#define NAV_UIDX(bw, i) a_Nav_get_uidx(bw, i)
#define NAV_TOP_UIDX(bw) a_Nav_get_top_uidx(bw)
-/*
- * For back and forward navigation, each bw keeps an url index,
- * and its scroll position.
- */
-typedef struct _nav_stack_item nav_stack_item;
-struct _nav_stack_item
-{
- int url_idx;
- int posx, posy;
-};
-
-
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */