Skip to content

Commit

Permalink
Merge Yongun Seong's branch 'utest-gnc-pricedb-types' into stable #1784
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Sep 27, 2023
2 parents d8d8614 + 0bd556c commit d1b2368
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libgnucash/engine/test/utest-gnc-pricedb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1499,14 +1499,16 @@ gboolean
gnc_pricedb_foreach_price(GNCPriceDB *db,// C: 2 in 2 Local: 6:0:0
*/

static void prepend_price_time64 (GNCPrice *p, GList **lst)
static gboolean prepend_price_time64 (GNCPrice *p, GList **lst)
{
*lst = g_list_prepend (*lst, GUINT_TO_POINTER(gnc_price_get_time64 (p)));
return TRUE;
}

static void inc_counter (GNCPrice *p, guint *count)
static gboolean inc_counter (GNCPrice *p, guint *count)
{
(*count)++;
return TRUE;
}

static void
Expand Down

0 comments on commit d1b2368

Please sign in to comment.