From e01d93f34430bf96932d06d2153383d8e8b59e96 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 20 Jan 2010 20:32:30 +0000 Subject: Refactor main into the frontends remove unused embedded global svn path=/trunk/netsurf/; revision=9851 --- beos/beos_gui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'beos') diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp index 0835a934c..3f83a8dcb 100644 --- a/beos/beos_gui.cpp +++ b/beos/beos_gui.cpp @@ -420,6 +420,13 @@ static int32 bapp_thread(void *arg) return 0; } +/** Normal entry point from OS */ +int main(int argc, char** argv) +{ + setbuf(stderr, NULL); + return netsurf_main(argc, argv); +} + void gui_init(int argc, char** argv) { char buf[PATH_MAX]; -- cgit v1.2.3