Commit e7651d0d authored by Max Kellermann's avatar Max Kellermann

conf: add gcc optimization attributes

parent 6a6f2866
......@@ -111,6 +111,7 @@ struct config_param {
* A GQuark for GError instances, resulting from malformed
* configuration.
*/
G_GNUC_CONST
static inline GQuark
config_quark(void)
{
......@@ -187,6 +188,7 @@ const char *
config_get_block_string(const struct config_param *param, const char *name,
const char *default_value);
G_GNUC_MALLOC
static inline char *
config_dup_block_string(const struct config_param *param, const char *name,
const char *default_value)
......@@ -204,6 +206,7 @@ bool
config_get_block_bool(const struct config_param *param, const char *name,
bool default_value);
G_GNUC_MALLOC
struct config_param *
config_new_param(const char *value, int line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment