patch-gnats_db_conf_c 965 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-gnats_db_conf_c,v 1.2 2007/12/28 17:11:25 espie Exp $
  2. --- gnats/db_conf.c.orig Wed Sep 22 04:31:01 1999
  3. +++ gnats/db_conf.c Fri Dec 28 18:00:24 2007
  4. @@ -47,7 +47,7 @@ Software Foundation, 59 Temple Place - Suite 330, Bost
  5. static int get_conf_key_list_and_count PARAMS((Conf_entry *list, char ***keys,
  6. int *count));
  7. static int get_conf_entry_count PARAMS(( Conf_entry *head));
  8. -static int get_conf_keys PARAMS((Conf_entry *ptr, char ***keys,
  9. +static void get_conf_keys PARAMS((Conf_entry *ptr, char ***keys,
  10. int count));
  11. static Conf_entry *lookup_conf_entry PARAMS((Conf_entry *head, char *key));
  12. static Conf_entry *add_conf_entry PARAMS((Conf_entry **head, char *key,
  13. @@ -262,7 +262,7 @@ get_conf_entry_count(head)
  14. }
  15. /* private function to load keys into a dynamic array */
  16. -static int
  17. +static void
  18. get_conf_keys(ptr, keys, count)
  19. Conf_entry *ptr;
  20. char ***keys;