mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-analyze: prefix private API with _
This commit is contained in:
@ -362,7 +362,7 @@ sysprof_document_load_mountinfo (SysprofDocument *self,
|
|||||||
|
|
||||||
line[line_len] = 0;
|
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));
|
sysprof_mount_namespace_add_mount (process_info->mount_namespace, g_steal_pointer (&mount));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
SysprofMount *sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
|
SysprofMount *_sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
|
||||||
const char *mountinfo);
|
const char *mountinfo);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|||||||
@ -183,8 +183,8 @@ sysprof_mount_init (SysprofMount *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SysprofMount *
|
SysprofMount *
|
||||||
sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
|
_sysprof_mount_new_for_mountinfo (SysprofStrings *strings,
|
||||||
const char *mountinfo)
|
const char *mountinfo)
|
||||||
{
|
{
|
||||||
g_autoptr(SysprofMount) self = NULL;
|
g_autoptr(SysprofMount) self = NULL;
|
||||||
g_auto(GStrv) parts = NULL;
|
g_auto(GStrv) parts = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user