openbsd-ports/databases/gnats/patches/patch-gnats_db_conf_c
2022-03-11 18:31:17 +00:00

21 lines
895 B
Plaintext

--- gnats/db_conf.c.orig Wed Sep 22 04:31:01 1999
+++ gnats/db_conf.c Fri Dec 28 18:00:24 2007
@@ -47,7 +47,7 @@ Software Foundation, 59 Temple Place - Suite 330, Bost
static int get_conf_key_list_and_count PARAMS((Conf_entry *list, char ***keys,
int *count));
static int get_conf_entry_count PARAMS(( Conf_entry *head));
-static int get_conf_keys PARAMS((Conf_entry *ptr, char ***keys,
+static void get_conf_keys PARAMS((Conf_entry *ptr, char ***keys,
int count));
static Conf_entry *lookup_conf_entry PARAMS((Conf_entry *head, char *key));
static Conf_entry *add_conf_entry PARAMS((Conf_entry **head, char *key,
@@ -262,7 +262,7 @@ get_conf_entry_count(head)
}
/* private function to load keys into a dynamic array */
-static int
+static void
get_conf_keys(ptr, keys, count)
Conf_entry *ptr;
char ***keys;