tsome cleanups. - surf - customized build of surf, the suckless webkit browser | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d3d9c9b714e256ddb62d75ce10830c01226d83ad | |
parent 25155222c843f28a90a5e77876c24d10c51a1e7b | |
Author: Enno Boland (Gottox) <[email protected]> | |
Date: Mon, 8 Jun 2009 16:49:56 +0200 | |
some cleanups. | |
Diffstat: | |
M surf.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
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, gpointe… | |
void | |
loadstart(WebKitWebView *view, WebKitWebFrame *f, gpointer d) { | |
Client *c = (Client *)d; | |
- gchar *uri; | |
if(c->download) | |
stop(c); |