libsysprof-analyze: prefix private API with _

This commit is contained in:
Christian Hergert
2023-05-18 16:23:12 -07:00
parent 5c1802d77f
commit d448519c29
3 changed files with 5 additions and 5 deletions

View File

@ -362,7 +362,7 @@ sysprof_document_load_mountinfo (SysprofDocument *self,
line[line_len] = 0;
if ((mount = sysprof_mount_new_for_mountinfo (self->strings, line)))
if ((mount = _sysprof_mount_new_for_mountinfo (self->strings, line)))
sysprof_mount_namespace_add_mount (process_info->mount_namespace, g_steal_pointer (&mount));
}
}

View File

@ -25,7 +25,7 @@
G_BEGIN_DECLS
SysprofMount *sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
const char *mountinfo);
SysprofMount *_sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
const char *mountinfo);
G_END_DECLS

View File

@ -183,8 +183,8 @@ sysprof_mount_init (SysprofMount *self)
}
SysprofMount *
sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
const char *mountinfo)
_sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
const char *mountinfo)
{
g_autoptr(SysprofMount) self = NULL;
g_auto(GStrv) parts = NULL;