mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 13:50:13 +01:00
core/trivial: rename nm_config_device_state_prune_unseen() to nm_config_device_state_prune_stale()
It's just a more fitting name after the previous change.
This commit is contained in:
parent
ad9e748816
commit
ecb0210e7a
3 changed files with 5 additions and 5 deletions
|
|
@ -2479,8 +2479,8 @@ nm_config_device_state_write (int ifindex,
|
|||
}
|
||||
|
||||
void
|
||||
nm_config_device_state_prune_unseen (GHashTable *preserve_ifindexes,
|
||||
NMPlatform *preserve_in_platform)
|
||||
nm_config_device_state_prune_stale (GHashTable *preserve_ifindexes,
|
||||
NMPlatform *preserve_in_platform)
|
||||
{
|
||||
GDir *dir;
|
||||
const char *fn;
|
||||
|
|
|
|||
|
|
@ -258,8 +258,8 @@ gboolean nm_config_device_state_write (int ifindex,
|
|||
const char *next_server,
|
||||
const char *root_path);
|
||||
|
||||
void nm_config_device_state_prune_unseen (GHashTable *preserve_ifindexes,
|
||||
NMPlatform *preserve_in_platform);
|
||||
void nm_config_device_state_prune_stale (GHashTable *preserve_ifindexes,
|
||||
NMPlatform *preserve_in_platform);
|
||||
|
||||
const GHashTable *nm_config_device_state_get_all (NMConfig *self);
|
||||
const NMConfigDeviceStateData *nm_config_device_state_get (NMConfig *self,
|
||||
|
|
|
|||
|
|
@ -6567,7 +6567,7 @@ nm_manager_write_device_state_all (NMManager *self)
|
|||
}
|
||||
}
|
||||
|
||||
nm_config_device_state_prune_unseen (preserve_ifindexes, NULL);
|
||||
nm_config_device_state_prune_stale (preserve_ifindexes, NULL);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue