Skip to content

Commit 6c22e9e

Browse files
committed
as lib
1 parent f4f85db commit 6c22e9e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

system/runstate.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ static int shutdown_exit_code = EXIT_SUCCESS;
421421
static int shutdown_signal;
422422
static pid_t shutdown_pid;
423423
static int powerdown_requested;
424-
static int return_requested;
425424
static int debug_requested;
426425
static int suspend_requested;
427426
static WakeupReason wakeup_reason;
@@ -435,6 +434,12 @@ static NotifierList shutdown_notifiers =
435434
NOTIFIER_LIST_INITIALIZER(shutdown_notifiers);
436435
static uint32_t wakeup_reason_mask = ~(1 << QEMU_WAKEUP_REASON_NONE);
437436

437+
//// --- Begin LibAFL code ---
438+
#ifdef AS_LIB
439+
static int return_requested;
440+
#endif
441+
//// --- End LibAFL code ---
442+
438443
ShutdownCause qemu_shutdown_requested_get(void)
439444
{
440445
return shutdown_requested;

0 commit comments

Comments
 (0)