mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
fix MISRA C"Literal zero used in pointer context"
MISRC C required pointer to zero should be replace with NULL Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
This commit is contained in:
@@ -7,9 +7,6 @@
|
||||
#ifndef TYPES_H
|
||||
#define TYPES_H
|
||||
|
||||
/* Define NULL value */
|
||||
#define HV_NULL 0
|
||||
|
||||
/* Defines for TRUE / FALSE conditions */
|
||||
#define HV_FALSE 0
|
||||
#define HV_TRUE 1
|
||||
|
Reference in New Issue
Block a user