summary refs log tree commit diff stats
path: root/include/qemu/cutils.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2024-09-18 17:53:23 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2024-09-20 10:04:34 +0300
commitecffadf602f34cc1cf4c3ae81502564673d410e8 (patch)
tree4d71b95da5fcd0f4b6a122cd4457e76b8cdbc970 /include/qemu/cutils.h
parent3a7156600ef79beb383ee2f7a241e0edebe5d5a7 (diff)
downloadfocaccia-qemu-ecffadf602f34cc1cf4c3ae81502564673d410e8.tar.gz
focaccia-qemu-ecffadf602f34cc1cf4c3ae81502564673d410e8.zip
util/cutils: Remove unused qemu_get_exec_dir
qemu_get_exec_dir has been unused since commit:
  5bebe03f51 ("util/cutils: Clean up global variable shadowing in get_relocated_path()")

Remove it, and fix up a comment that pointed to it.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/qemu/cutils.h')
-rw-r--r--include/qemu/cutils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h
index da15547bfb..34a9b9b220 100644
--- a/include/qemu/cutils.h
+++ b/include/qemu/cutils.h
@@ -241,13 +241,10 @@ int uleb128_decode_small(const uint8_t *in, uint32_t *n);
 int qemu_pstrcmp0(const char **str1, const char **str2);
 
 /* 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. */
 void qemu_init_exec_dir(const char *argv0);
 
-/* Get the saved exec dir.  */
-const char *qemu_get_exec_dir(void);
-
 /**
  * get_relocated_path:
  * @dir: the directory (typically a `CONFIG_*DIR` variable) to be relocated.