mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/core/loader.c: Remove load_image()
The load_image() function is now no longer used anywhere, so we can remove it completely. (Use load_image_size() or g_file_get_contents() instead.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20181130151712.2312-10-peter.maydell@linaro.org
This commit is contained in:
parent
da885fe1ee
commit
2933f6980b
2 changed files with 0 additions and 26 deletions
|
@ -11,7 +11,6 @@
|
|||
* On error, errno is also set as appropriate.
|
||||
*/
|
||||
int64_t get_image_size(const char *filename);
|
||||
int load_image(const char *filename, uint8_t *addr); /* deprecated */
|
||||
ssize_t load_image_size(const char *filename, void *addr, size_t size);
|
||||
|
||||
/**load_image_targphys_as:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue