Introduction
Introduction Statistics Contact Development Disclaimer Help
treformating - surf - customized build of surf, the suckless webkit browser
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 8f8abc6146fce495427fdc0ecf97c80ed99bdf44
parent f8c3b223bdcae0cd3bacb279c5daaf690d38bb99
Author: Enno Boland (tox) <[email protected]>
Date: Thu, 10 Sep 2009 09:25:08 +0200
reformating
Diffstat:
M surf.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/surf.c b/surf.c
t@@ -90,7 +90,7 @@ static void loadstart(WebKitWebView *view, WebKitWebFrame *f…
static void loadfile(Client *c, const gchar *f);
static void loaduri(Client *c, const Arg *arg);
static void navigate(Client *c, const Arg *arg);
-static Client *newclient();
+static Client *newclient(void);
static WebKitWebView *newwindow(WebKitWebView *v, WebKitWebFrame *f, Client *…
static void pasteurl(GtkClipboard *clipboard, const gchar *text, gpointer d);
static GdkFilterReturn processx(GdkXEvent *xevent, GdkEvent *event, gpointer d…
t@@ -99,9 +99,9 @@ static void proccookies(SoupMessage *m, Client *c);
static void progresschange(WebKitWebView *view, gint p, Client *c);
static void request(SoupSession *s, SoupMessage *m, Client *c);
static void reload(Client *c, const Arg *arg);
-static void rereadcookies();
+static void rereadcookies(void);
static void setcookie(char *name, char *val, char *dom, char *path, long exp);
-static void setup();
+static void setup(void);
static void titlechange(WebKitWebView* view, WebKitWebFrame* frame,
const gchar* title, Client *c);
static void scroll(Client *c, const Arg *arg);
t@@ -111,7 +111,7 @@ static void showsearch(Client *c, const Arg *arg);
static void showurl(Client *c, const Arg *arg);
static void stop(Client *c, const Arg *arg);
static void titlechange(WebKitWebView* view, WebKitWebFrame* frame, const gcha…
-static void usage();
+static void usage(void);
static void update(Client *c);
static void zoom(Client *c, const Arg *arg);
t@@ -541,7 +541,7 @@ reload(Client *c, const Arg *arg) {
}
void
-rereadcookies() {
+rereadcookies(void) {
const gchar *filename, *home;
home = g_get_home_dir();
t@@ -567,7 +567,7 @@ setcookie(char *name, char *val, char *dom, char *path, lo…
}
void
-setup() {
+setup(void) {
dpy = GDK_DISPLAY();
session = webkit_get_default_session();
urlprop = XInternAtom(dpy, "_SURF_URL", False);
t@@ -627,7 +627,7 @@ titlechange(WebKitWebView *v, WebKitWebFrame *f, const gch…
}
void
-usage() {
+usage(void) {
fputs("surf - simple browser\n", stderr);
die("usage: surf [-e] [-x] [uri]\n");
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.