mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
Annotate functions to improve compiler diagnostics
This commit is contained in:
parent
25a796afc6
commit
5801b5518f
@ -46,7 +46,7 @@
|
|||||||
static void
|
static void
|
||||||
meta_topic_real_valist (MetaDebugTopic topic,
|
meta_topic_real_valist (MetaDebugTopic topic,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list args);
|
va_list args) G_GNUC_PRINTF(2, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static gint verbose_topics = 0;
|
static gint verbose_topics = 0;
|
||||||
|
@ -49,7 +49,7 @@ typedef enum
|
|||||||
} MetaExitCode;
|
} MetaExitCode;
|
||||||
|
|
||||||
/* exit immediately */
|
/* exit immediately */
|
||||||
void meta_exit (MetaExitCode code);
|
void meta_exit (MetaExitCode code) G_GNUC_NORETURN;
|
||||||
|
|
||||||
/* g_main_loop_quit() then fall out of main() */
|
/* g_main_loop_quit() then fall out of main() */
|
||||||
void meta_quit (MetaExitCode code);
|
void meta_quit (MetaExitCode code);
|
||||||
|
@ -272,6 +272,8 @@ set_gnome_env (const char *name,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void meta_wayland_log_func (const char *, va_list) G_GNUC_PRINTF (1, 0);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_log_func (const char *fmt,
|
meta_wayland_log_func (const char *fmt,
|
||||||
va_list arg)
|
va_list arg)
|
||||||
|
Loading…
Reference in New Issue
Block a user