tsome cleanups. - surf - customized build of surf, the suckless webkit browser (HTM) git clone git://src.adamsgaard.dk/surf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit d3d9c9b714e256ddb62d75ce10830c01226d83ad (DIR) parent 25155222c843f28a90a5e77876c24d10c51a1e7b (HTM) Author: Enno Boland (Gottox) <gottox@s01.de> Date: Mon, 8 Jun 2009 16:49:56 +0200 some cleanups. Diffstat: M surf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/surf.c b/surf.c t@@ -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); } t@@ -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);