Reorganize the header files of pal

This commit is contained in:
He Sun 2020-09-17 16:41:20 +08:00 committed by Tate, Hongliang Tian
parent 5d5e8d44ec
commit 83fcd47cd0
4 changed files with 3 additions and 3 deletions

@ -25,7 +25,7 @@ ifneq ($(SGX_MODE), HW)
CXX_OBJS := $(subst pal/src,pal/src_sim,$(CXX_OBJS))
endif
HEADER_FILES := $(sort $(wildcard include/*.h include/*/*.h))
HEADER_FILES := $(sort $(wildcard src/*.h include/*.h include/*/*.h))
C_COMMON_FLAGS := -I$(OBJ_DIR)/pal/$(SRC_OBJ) -Iinclude -Iinclude/edl
C_FLAGS := $(C_COMMON_FLAGS) $(SGX_CFLAGS_U)

@ -3,7 +3,7 @@
#include <sgx_eid.h>
int pal_init_enclave(const char* instance_dir);
int pal_init_enclave(const char *instance_dir);
int pal_destroy_enclave(void);
#define SGX_INVALID_ENCLAVE_ID (-1)

@ -4,6 +4,6 @@
#include <errno.h>
#include <sgx_error.h>
const char* pal_get_sgx_error_msg(sgx_status_t error);
const char *pal_get_sgx_error_msg(sgx_status_t error);
#endif /* __PAL_ERROR_H__ */