Reorganize the header files of pal
This commit is contained in:
parent
5d5e8d44ec
commit
83fcd47cd0
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user