mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-22 22:06:02 +00:00
1edf423a1d
It will help for simplifying codes like this:
{
if (cond == NULL)
NORETURN_func();
/* use cond safely, it is not NULL and don't need to check it again */
}
It also helps for readability.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
10 lines
174 B
C
10 lines
174 B
C
#ifndef KVM__STOP_H
|
|
#define KVM__STOP_H
|
|
|
|
#include <kvm/util.h>
|
|
|
|
int kvm_cmd_stop(int argc, const char **argv, const char *prefix);
|
|
void kvm_stop_help(void) NORETURN;
|
|
|
|
#endif
|