On 3/18/25 14:32, Richard Henderson wrote:
This is include/system, so CONFIG_USER_ONLY will never be true.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/system/qtest.h | 2 --
  1 file changed, 2 deletions(-)

diff --git a/include/system/qtest.h b/include/system/qtest.h
index 6ddddc501b..84b1f8c6ee 100644
--- a/include/system/qtest.h
+++ b/include/system/qtest.h
@@ -23,7 +23,6 @@ static inline bool qtest_enabled(void)
      return qtest_allowed;
  }
-#ifndef CONFIG_USER_ONLY
  void G_GNUC_PRINTF(2, 3) qtest_sendf(CharBackend *chr, const char *fmt, ...);
  void qtest_set_command_cb(bool (*pc_cb)(CharBackend *chr, gchar **words));
  bool qtest_driver(void);
@@ -33,6 +32,5 @@ void qtest_server_init(const char *qtest_chrdev, const char 
*qtest_log, Error **
  void qtest_server_set_send_handler(void (*send)(void *, const char *),
                                   void *opaque);
  void qtest_server_inproc_recv(void *opaque, const char *buf);
-#endif
#endif

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to