Skip to content

Commit

Permalink
types: avoid exporting private symbol: free_address_options
Browse files Browse the repository at this point in the history
Add "FIXME" comments to some other private symbols exported in the 0.106[.1]
releases by accident.
  • Loading branch information
slyon committed Aug 7, 2023
1 parent a6e6c94 commit abc9230
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/types.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ free_hashtable_with_destructor(GHashTable** hash, void (destructor)(void *)) {
}
}

NETPLAN_INTERNAL void
void
free_address_options(void* ptr)
{
NetplanAddressOptions* opts = ptr;
Expand Down
6 changes: 3 additions & 3 deletions src/util-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ _netplan_netdef_get_vlan_id(const NetplanNetDefinition* netdef);
NETPLAN_INTERNAL gboolean
_netplan_netdef_is_trivial_compound_itf(const NetplanNetDefinition* netdef);

NETPLAN_INTERNAL gboolean
NETPLAN_INTERNAL gboolean //FIXME: avoid exporting private symbol
is_route_present(const NetplanNetDefinition* netdef, const NetplanIPRoute* route);

NETPLAN_INTERNAL gboolean
NETPLAN_INTERNAL gboolean //FIXME: avoid exporting private symbol
is_route_rule_present(const NetplanNetDefinition* netdef, const NetplanIPRule* rule);

NETPLAN_INTERNAL gboolean
NETPLAN_INTERNAL gboolean //FIXME: avoid exporting private symbol
is_string_in_array(GArray* array, const char* value);

0 comments on commit abc9230

Please sign in to comment.