From ed6c7e4e030ebf2b294ddcad830c88089f6f09af Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 14 Jun 2002 11:00:13 +0000 Subject: warning hunt and kill session git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/uibasic.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'uisimulator/x11/uibasic.c') diff --git a/uisimulator/x11/uibasic.c b/uisimulator/x11/uibasic.c index b47362b9d0..19ab9c5980 100644 --- a/uisimulator/x11/uibasic.c +++ b/uisimulator/x11/uibasic.c @@ -71,7 +71,6 @@ void init_window () { XGCValues gcv; XWindowAttributes xgwa; - char *test_p; XGetWindowAttributes (dpy, window, &xgwa); @@ -176,15 +175,12 @@ void drawtext(int color, int x, int y, char *text) XDrawString(dpy, window, draw_gc, x, y, text, strlen(text)); } +/* this is where the applicaton starts */ +extern void app_main(void); void screenhack (Display *the_dpy, Window the_window) { - unsigned short porttouse=0; - char *proxy = NULL; - char *url = NULL; - int i; - char *guiname="Rock-the-box"; Bool helpme; /* This doesn't work, but I don't know why (Daniel 1999-12-01) */ @@ -206,8 +202,6 @@ screenhack (Display *the_dpy, Window the_window) void screen_redraw() { - int y, x; - /* draw a border around the "Recorder" screen */ #define X1 0 -- cgit v1.2.3