Gary Lin cf5e52fa85 dl: Fix grub_dl_is_persistent() for emu
When attempting to build grub-emu the compilation failed with the
following error message:

  include/grub/dl.h: In function ‘grub_dl_is_persistent’:
  include/grub/dl.h:262:1: error: no return statement in function returning non-void [-Werror=return-type]

To avoid the error make the function always return 0.

Fixes: ba8eadde6be1 (dl: Provide a fake grub_dl_set_persistent() and grub_dl_is_persistent() for the emu target)

Signed-off-by: Gary Lin <glin@suse.com>
Cc: Daniel Axtens <dja@axtens.net>
Cc: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-07-11 16:25:14 +02:00
..
2022-03-14 16:01:26 +01:00
2022-03-14 16:01:26 +01:00
2022-03-14 16:01:26 +01:00
2016-10-27 16:22:06 +02:00
2018-03-05 13:44:55 +01:00
2017-08-07 18:33:29 +02:00
2012-02-26 19:10:52 +01:00
2019-06-07 15:37:55 +02:00
2021-03-02 15:54:15 +01:00
2019-09-23 13:17:15 +02:00
2020-12-18 23:04:36 +01:00
2022-03-14 16:01:26 +01:00
2011-10-01 22:51:12 +02:00
2013-12-17 14:45:46 +01:00
2025-07-11 16:25:14 +02:00
2017-05-08 22:06:04 +02:00
2025-01-23 16:22:47 +01:00
2021-03-02 15:54:15 +01:00
2022-11-14 20:24:39 +01:00
2010-08-17 19:03:22 +05:30
2022-03-14 16:01:26 +01:00
2021-03-02 15:54:15 +01:00
2015-12-15 10:25:34 +03:00
2012-03-04 14:55:13 +01:00
2023-01-19 17:39:04 +01:00
2023-05-25 16:47:59 +02:00
2010-08-17 19:03:22 +05:30
2016-02-12 12:39:38 +01:00
2010-09-24 14:05:47 +02:00
2023-06-23 00:50:38 +02:00
2010-08-17 19:03:22 +05:30
2013-12-18 05:28:05 +01:00
2022-03-14 16:01:26 +01:00
2011-11-30 16:20:13 +01:00
2022-03-14 16:01:26 +01:00
2022-03-14 16:01:26 +01:00
2022-03-14 16:01:26 +01:00