@@ -33,22 +33,19 @@ extern "C" {
3333#define CFI_attribute_allocatable 1
3434#define CFI_attribute_other 2
3535
36- /* Error codes.
37- CFI_FAILURE and CFI_INVALID_STRIDE should be defined in the standard because they are useful to the implementation of the functions.
38- */
39- #define CFI_FAILURE 0
40- #define CFI_SUCCESS 1
41- #define CFI_ERROR_BASE_ADDR_NULL 2
42- #define CFI_ERROR_BASE_ADDR_NOT_NULL 3
43- #define CFI_INVALID_ELEM_LEN 4
44- #define CFI_INVALID_RANK 5
45- #define CFI_INVALID_TYPE 6
46- #define CFI_INVALID_ATTRIBUTE 7
47- #define CFI_INVALID_EXTENT 8
48- #define CFI_INVALID_STRIDE 9
49- #define CFI_INVALID_DESCRIPTOR 10
50- #define CFI_ERROR_MEM_ALLOCATION 11
51- #define CFI_ERROR_OUT_OF_BOUNDS 12
36+ /* Error codes. */
37+ #define CFI_SUCCESS 0
38+ #define CFI_ERROR_BASE_ADDR_NULL 1
39+ #define CFI_ERROR_BASE_ADDR_NOT_NULL 2
40+ #define CFI_INVALID_ELEM_LEN 3
41+ #define CFI_INVALID_RANK 4
42+ #define CFI_INVALID_TYPE 5
43+ #define CFI_INVALID_ATTRIBUTE 6
44+ #define CFI_INVALID_EXTENT 7
45+ #define CFI_INVALID_STRIDE 8
46+ #define CFI_INVALID_DESCRIPTOR 9
47+ #define CFI_ERROR_MEM_ALLOCATION 10
48+ #define CFI_ERROR_OUT_OF_BOUNDS 11
5249
5350/* CFI type definitions. */
5451typedef ptrdiff_t CFI_index_t ;
0 commit comments