diff --git a/src/core/misc.c b/src/core/misc.c index d612f587..c959ad91 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -270,11 +270,6 @@ char *gslist_to_string(GSList *list, const char *delimiter) return ret; } -void hash_save_key(char *key, void *value, GSList **list) -{ - *list = g_slist_append(*list, key); -} - /* remove all the options from the optlist hash table that are valid for the * command cmd */ GList *optlist_remove_known(const char *cmd, GHashTable *optlist) diff --git a/src/core/misc.h b/src/core/misc.h index 9e06c707..65534cdc 100644 --- a/src/core/misc.h +++ b/src/core/misc.h @@ -50,7 +50,7 @@ int match_wildcards(const char *mask, const char *data); /* octal <-> decimal conversions */ int octal2dec(int octal); -int dec2octal(int decimal); +int dec2octal(int decimal) G_GNUC_DEPRECATED; /* Get time in human readable form with localtime() + asctime() */ char *my_asctime(time_t t);