blob: 54995d07b909feef28f06256bc3778305f3c6a64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* See LICENSE file for copyright and license details. */
#include "internal.h"
void
liberror_end(const struct liberror_state *state)
{
liberror_saved_backtrace = state->backtrace;
liberror_have_error_ = state->have_error;
errno = state->errnum;
memcpy(&liberror_error_, &state->error, sizeof(liberror_error_));
}
|