rename spawn to uicb_spawn and fix buggy proto

This commit is contained in:
Julien Danjou 2007-09-12 18:19:28 +02:00
parent c96d88975f
commit 4925ff0c7a
3 changed files with 4 additions and 3 deletions

View File

@ -88,7 +88,7 @@ static const NameFuncLink LayoutsList[] =
/** List of available UI bindable callbacks and functions */
static const NameFuncLink KeyfuncList[] = {
/* util.c */
{"spawn", spawn},
{"spawn", uicb_spawn},
/* client.c */
{"killclient", uicb_killclient},
{"moveresize", uicb_moveresize},

3
util.c
View File

@ -42,7 +42,8 @@ eprint(const char *fmt, ...)
}
void
spawn(Display * disp,
uicb_spawn(Display * disp,
DC *drawcontext __attribute__ ((unused)),
awesome_config * awesomeconf __attribute__ ((unused)),
const char *arg)
{

2
util.h
View File

@ -119,7 +119,7 @@ static inline char *a_strdup(const char *s)
}
void eprint(const char *, ...) __attribute__ ((noreturn)) __attribute__ ((format(printf, 1, 2)));
void spawn(Display *, awesome_config *, const char *);
void uicb_spawn(Display *, DC *, awesome_config *, const char *);
Bool xgettextprop(Display *, Window, Atom, char *, unsigned int);
#endif