Merge pull request #465 from bebehei/run
Make run static to not export it
This commit is contained in:
commit
5009d444aa
@ -42,13 +42,14 @@ GMainLoop *mainloop = NULL;
|
|||||||
GSList *rules = NULL;
|
GSList *rules = NULL;
|
||||||
|
|
||||||
/* misc funtions */
|
/* misc funtions */
|
||||||
|
static gboolean run(void *data);
|
||||||
|
|
||||||
void wake_up(void)
|
void wake_up(void)
|
||||||
{
|
{
|
||||||
run(NULL);
|
run(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean run(void *data)
|
static gboolean run(void *data)
|
||||||
{
|
{
|
||||||
queues_check_timeouts(x_is_idle());
|
queues_check_timeouts(x_is_idle());
|
||||||
queues_update();
|
queues_update();
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
extern GSList *rules;
|
extern GSList *rules;
|
||||||
extern const char *colors[3][3];
|
extern const char *colors[3][3];
|
||||||
|
|
||||||
gboolean run(void *data);
|
|
||||||
void wake_up(void);
|
void wake_up(void);
|
||||||
|
|
||||||
int dunst_main(int argc, char *argv[]);
|
int dunst_main(int argc, char *argv[]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user