Files
Lai Jiangshan 1edf423a1d kvm tools: mark usages functions as NORETURN
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>
2015-06-01 16:39:50 +01:00

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