]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: split up ctf-subr.c
authorNick Alcock <nick.alcock@oracle.com>
Mon, 13 Jan 2025 11:29:26 +0000 (11:29 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 15:12:02 +0000 (15:12 +0000)
commit4a7870a831cbcba4dad6f896d174a28b79d7318c
tree1d5151b42b14ff292649f1b1d9aa984eaa5a7309
parentac07bccf05468b089e23765e5be307054712a211
libctf: split up ctf-subr.c

This file is a bit of a grab-bag of dict-wide API functions like
ctf_set_open_errno or ctf_errwarning_next and portabilty functions and
wrappers like ctf_mmap or ctf_pread.

Split the latter out, and move other dict-wide functions that got
stuck in ctf-util.c (because it was so hard to tell the two files
apart) into ctf-api.c where they belong.
libctf/Makefile.am
libctf/Makefile.in
libctf/ctf-api.c [moved from libctf/ctf-subr.c with 81% similarity]
libctf/ctf-port.c [new file with mode: 0644]
libctf/ctf-util.c