summaryrefslogtreecommitdiff
path: root/debug/netsurfd.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 17:13:37 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 17:13:37 +0000
commit0e0c6eb1ee81a9e4508fbaddcb05f7e545f1b040 (patch)
treed082eca75d0e41527a52954f927eacee62d28fef /debug/netsurfd.c
parent53bbe5fb9e914f4e457516b2d36ffa724c0133e7 (diff)
downloadnetsurf-0e0c6eb1ee81a9e4508fbaddcb05f7e545f1b040.tar.gz
netsurf-0e0c6eb1ee81a9e4508fbaddcb05f7e545f1b040.tar.bz2
Fix debug build. Is this worth the effort, I wonder?
svn path=/trunk/netsurf/; revision=7106
Diffstat (limited to 'debug/netsurfd.c')
-rw-r--r--debug/netsurfd.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/debug/netsurfd.c b/debug/netsurfd.c
index 29db10d4f..406cd9e22 100644
--- a/debug/netsurfd.c
+++ b/debug/netsurfd.c
@@ -20,6 +20,7 @@
#include <stdbool.h>
#include <string.h>
#include <time.h>
+#include <unistd.h>
#include "utils/config.h"
#include "content/fetch.h"
#include "content/content.h"
@@ -182,12 +183,6 @@ void plugin_close(struct content *c) {}
bool plugin_handleable(const char *mime_type) {return false;}
#endif
-#ifndef riscos
-bool bitmap_get_opaque(struct bitmap *bitmap) { return false; }
-bool bitmap_test_opaque(struct bitmap *bitmap) { return false; }
-void bitmap_set_opaque(struct bitmap *bitmap, bool opaque) {}
-#endif
-
void tree_initialise_redraw(struct tree *tree) {}
void tree_redraw_area(struct tree *tree, int x, int y, int width, int height) {}
void tree_draw_line(int x, int y, int width, int height) {}
@@ -202,7 +197,7 @@ void tree_set_node_sprite_folder(struct node *node) {}
#ifndef riscos
void schedule(int t, void (*callback)(void *p), void *p) {}
void schedule_remove(void (*callback)(void *p), void *p) {}
-bool schedule_run(void) {}
+bool schedule_run(void) { return false; }
#endif
bool selection_highlighted(struct selection *s, unsigned start, unsigned end,