|
@@ -241,13 +241,10 @@ int uleb128_decode_small(const uint8_t *in, uint32_t *n);
|
|
int qemu_pstrcmp0(const char **str1, const char **str2);
|
|
int qemu_pstrcmp0(const char **str1, const char **str2);
|
|
|
|
|
|
/* Find program directory, and save it for later usage with
|
|
/* Find program directory, and save it for later usage with
|
|
- * qemu_get_exec_dir().
|
|
|
|
|
|
+ * get_relocated_path().
|
|
* Try OS specific API first, if not working, parse from argv0. */
|
|
* Try OS specific API first, if not working, parse from argv0. */
|
|
void qemu_init_exec_dir(const char *argv0);
|
|
void qemu_init_exec_dir(const char *argv0);
|
|
|
|
|
|
-/* Get the saved exec dir. */
|
|
|
|
-const char *qemu_get_exec_dir(void);
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* get_relocated_path:
|
|
* get_relocated_path:
|
|
* @dir: the directory (typically a `CONFIG_*DIR` variable) to be relocated.
|
|
* @dir: the directory (typically a `CONFIG_*DIR` variable) to be relocated.
|