mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-03-13 01:00:15 +01:00
Make fixture_get() return const pointer
This commit is contained in:
parent
0a1e3c22b6
commit
df651177e0
@ -1170,7 +1170,7 @@ fixture_get_previous(gint clid, gint week_number, gint week_round_number)
|
||||
@param week_round_number The round we're showing.
|
||||
@param tm A team pointer (for the case SHOW_TEAM).
|
||||
@return A fixture pointer or NULL. */
|
||||
Fixture*
|
||||
const Fixture*
|
||||
fixture_get(gint type, gint clid, gint week_number,
|
||||
gint week_round_number, const Team *tm)
|
||||
{
|
||||
@ -1178,7 +1178,7 @@ fixture_get(gint type, gint clid, gint week_number,
|
||||
printf("fixture_get\n");
|
||||
#endif
|
||||
|
||||
Fixture *fix = NULL;
|
||||
const Fixture *fix = NULL;
|
||||
gint new_clid = -1;
|
||||
|
||||
if(type == SHOW_TEAM)
|
||||
|
@ -117,7 +117,7 @@ fixture_result_to_buf(const Fixture *fix, gchar *buf, gboolean swap);
|
||||
gint
|
||||
fixture_get_number_of_matches(gint week_number, gint week_round_number);
|
||||
|
||||
Fixture*
|
||||
const Fixture*
|
||||
fixture_get(gint type, gint clid, gint week_number, gint week_round_number, const Team *tm);
|
||||
|
||||
Fixture*
|
||||
|
Loading…
x
Reference in New Issue
Block a user