mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-23 09:43:06 +00:00
libdrgn: make drgn_program_set_core_dump_fd_internal static
This is only used in libdrgn/program.c.
Fixes: 6b5ed1d43e
("Allow Program.set_core_dump() and program_from_core_dump() to accept FD")
Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
c85dd74f3e
commit
154b77aa3a
@ -235,8 +235,9 @@ static struct drgn_error *has_kdump_signature(const char *path, int fd,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct drgn_error *
|
static struct drgn_error *
|
||||||
drgn_program_set_core_dump_fd_internal(struct drgn_program *prog, int fd, const char *path)
|
drgn_program_set_core_dump_fd_internal(struct drgn_program *prog, int fd,
|
||||||
|
const char *path)
|
||||||
{
|
{
|
||||||
struct drgn_error *err;
|
struct drgn_error *err;
|
||||||
GElf_Ehdr ehdr_mem, *ehdr;
|
GElf_Ehdr ehdr_mem, *ehdr;
|
||||||
|
Loading…
Reference in New Issue
Block a user