Skip to content

Commit

Permalink
Fix params for static sync_[...]_with_feed headers
Browse files Browse the repository at this point in the history
The static headers for the sync_[...]_with_feed functions in the
manage_sql_[...].c files were missing the rebuild parameter.
  • Loading branch information
timopollmeier authored and jhelmold committed Sep 7, 2021
1 parent 6a37192 commit 15a1ab6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/manage_sql_configs.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
/* Static headers for internal non-SQL functions. */

int
sync_configs_with_feed ();
sync_configs_with_feed (gboolean);


/* Static headers. */
Expand Down Expand Up @@ -4936,7 +4936,7 @@ check_db_configs ()
{
migrate_predefined_configs ();

if (sync_configs_with_feed () <= -1)
if (sync_configs_with_feed (FALSE) <= -1)
g_warning ("%s: Failed to sync configs with feed", __func__);

/* Warn about feed resources in the trash. */
Expand Down
4 changes: 2 additions & 2 deletions src/manage_sql_port_lists.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/* Static headers for internal non-SQL functions. */

int
sync_port_lists_with_feed ();
sync_port_lists_with_feed (gboolean);


/* Port list functions. */
Expand Down Expand Up @@ -2596,7 +2596,7 @@ check_db_port_lists ()
{
migrate_predefined_port_lists ();

if (sync_port_lists_with_feed () <= -1)
if (sync_port_lists_with_feed (FALSE) <= -1)
g_warning ("%s: Failed to sync port lists with feed", __func__);

/*
Expand Down
4 changes: 2 additions & 2 deletions src/manage_sql_report_formats.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
/* Non-SQL internals defined in manage_report_formats.c. */

int
sync_report_formats_with_feed ();
sync_report_formats_with_feed (gboolean);


/* Static headers. */
Expand Down Expand Up @@ -4545,7 +4545,7 @@ check_db_report_formats ()
if (migrate_predefined_report_formats ())
return -1;

if (sync_report_formats_with_feed () <= -1)
if (sync_report_formats_with_feed (FALSE) <= -1)
g_warning ("%s: Failed to sync report formats with feed", __func__);

if (check_db_trash_report_formats ())
Expand Down

0 comments on commit 15a1ab6

Please sign in to comment.