From: Enno Boland (Gottox) Date: Mon, 8 Jun 2009 14:49:56 +0000 (+0200) Subject: some cleanups. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=d3d9c9b714e256ddb62d75ce10830c01226d83ad;p=surf.git some cleanups. --- diff --git a/surf.c b/surf.c index 57d4033..35ef358 100644 --- a/surf.c +++ b/surf.c @@ -95,7 +95,8 @@ destroywin(GtkWidget* w, gpointer d) { destroyclient(c); } -void die(char *str) { +void +die(char *str) { fputs(str, stderr); exit(EXIT_FAILURE); } @@ -270,7 +271,6 @@ loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d) { void loadstart(WebKitWebView *view, WebKitWebFrame *f, gpointer d) { Client *c = (Client *)d; - gchar *uri; if(c->download) stop(c);