From 2ea22c721ce2e2e5eed2a06d9a4883d7f05747a8 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 1 Oct 2007 20:44:02 +0200 Subject: [PATCH] set inline in header file --- client.c | 4 ++-- client.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client.c b/client.c index bf25b05f..c2bb5e7c 100644 --- a/client.c +++ b/client.c @@ -218,7 +218,7 @@ client_swap(Client *c1, Client *c2) /** Attach client to the beginning of the clients stack * \param c the client */ -inline void +void attach(Client * c) { if(clients) @@ -227,7 +227,7 @@ attach(Client * c) clients = c; } -inline void +void updatetitle(Client * c) { if(!xgettextprop(c->display, c->win, XInternAtom(c->display, "_NET_WM_NAME", False), c->name, sizeof c->name)) diff --git a/client.h b/client.h index 679daeae..c20debd9 100644 --- a/client.h +++ b/client.h @@ -62,7 +62,7 @@ struct Client Bool ftview; }; -void attach(Client *); /* attaches c to global client list */ +inline void attach(Client *); /* attaches c to global client list */ void ban(Client *); /* bans c */ void configure(Client *); /* send synthetic configure event */ void detach(Client *); /* detaches c from global client list */ @@ -71,7 +71,7 @@ void manage(Display *, DC *, Window, XWindowAttributes *, awesome_config *); void resize(Client *, int, int, int, int, awesome_config *, Bool); /* resize with given coordinates c */ void unban(Client *); /* unbans c */ void unmanage(Client *, DC *, long, awesome_config *); /* unmanage c */ -void updatesizehints(Client *); /* update the size hint variables of c */ +inline void updatesizehints(Client *); /* update the size hint variables of c */ void updatetitle(Client *); /* update the name of c */ void saveprops(Client * c, int); /* saves client properties */ void set_shape(Client *);