X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=35ef3582ededb93199832e97f5a2acde42905d74;hb=d3d9c9b714e256ddb62d75ce10830c01226d83ad;hp=57d4033812f586957f70188eb48952a076a07b94;hpb=25155222c843f28a90a5e77876c24d10c51a1e7b;p=surf.git 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);