summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-03-04 16:52:57 +0100
committerThomas Haller <thaller@redhat.com>2020-03-04 16:59:22 +0100
commit7fa1e825450ce4b69670b5bfd5a9c705d9c05920 (patch)
treefcc9790a35038ec9ea7664e1bd61e52c0d82afb3 /src
parent0b4ebda859a3dc1c8ec4d8c887383d04bcd249f9 (diff)
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. (cherry picked from commit ecb0210e7a225f2b73149229cc96ac84f93404d1)
Diffstat (limited to 'src')
-rw-r--r--src/nm-config.c4
-rw-r--r--src/nm-config.h4
-rw-r--r--src/nm-manager.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/nm-config.c b/src/nm-config.c
index 29e7cbc095..4ea976574f 100644
--- a/src/nm-config.c
+++ b/src/nm-config.c
@@ -2478,8 +2478,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;
diff --git a/src/nm-config.h b/src/nm-config.h
index 048d64f41f..b4478ceb04 100644
--- a/src/nm-config.h
+++ b/src/nm-config.h
@@ -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,
diff --git a/src/nm-manager.c b/src/nm-manager.c
index c58d60a88f..1022e866f5 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -6597,7 +6597,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