diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-22 13:57:12 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-22 13:57:12 +0000 |
commit | b4891aa66e86e51eb862a93d0a2b7d5253afbb9c (patch) | |
tree | 77aec050604bc623660e4099c74404b6e295f9a6 /libffi | |
parent | aaca40a894c8c7f0de27e81f8d5c89d6de06c9ed (diff) | |
download | ppe42-gcc-b4891aa66e86e51eb862a93d0a2b7d5253afbb9c.tar.gz ppe42-gcc-b4891aa66e86e51eb862a93d0a2b7d5253afbb9c.zip |
* src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/src/ia64/ffi.c | 26 |
2 files changed, 17 insertions, 13 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 5d51e0cd622..3fef2f8a3fa 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,7 @@ +2003-10-22 Andreas Schwab <schwab@suse.de> + + * src/ia64/ffi.c: Replace FALSE/TRUE with false/true. + 2003-10-21 Andreas Tobler <a.tobler@schweiz.ch> * configure.in: AC_LINK_FILES(ffitarget.h). diff --git a/libffi/src/ia64/ffi.c b/libffi/src/ia64/ffi.c index 2908081a12b..c846f6e1338 100644 --- a/libffi/src/ia64/ffi.c +++ b/libffi/src/ia64/ffi.c @@ -93,33 +93,33 @@ static bool is_homogeneous_fp_aggregate(ffi_type * type, int n, switch((*ptr) -> type) { case FFI_TYPE_FLOAT: if (type_set && element != FFI_TYPE_FLOAT) return 0; - if (--n < 0) return FALSE; + if (--n < 0) return false; type_set = 1; element = FFI_TYPE_FLOAT; break; case FFI_TYPE_DOUBLE: if (type_set && element != FFI_TYPE_DOUBLE) return 0; - if (--n < 0) return FALSE; + if (--n < 0) return false; type_set = 1; element = FFI_TYPE_DOUBLE; break; case FFI_TYPE_STRUCT: if (!is_homogeneous_fp_aggregate(type, n, &struct_element)) - return FALSE; - if (type_set && struct_element != element) return FALSE; + return false; + if (type_set && struct_element != element) return false; n -= (type -> size)/float_type_size(element); element = struct_element; - if (n < 0) return FALSE; + if (n < 0) return false; break; /* case FFI_TYPE_LONGDOUBLE: Not yet implemented. */ default: - return FALSE; + return false; } ptr++; } *element_type = element; - return TRUE; + return true; } @@ -252,7 +252,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif) { long i, avn; - bool is_simple = TRUE; + bool is_simple = true; long simple_flag = FFI_SIMPLE_V; /* Adjust cif->bytes to include space for the 2 scratch words, r8 register contents, spare word, @@ -282,11 +282,11 @@ ffi_prep_cif_machdep(ffi_cif *cif) simple_flag = FFI_ADD_LONG_ARG(simple_flag); break; default: - is_simple = FALSE; + is_simple = false; } } } else { - is_simple = FALSE; + is_simple = false; } /* Set the return type flag */ @@ -301,7 +301,7 @@ ffi_prep_cif_machdep(ffi_cif *cif) size_t sz = cif -> rtype -> size; unsigned short element_type; - is_simple = FALSE; + is_simple = false; if (is_homogeneous_fp_aggregate(cif -> rtype, 8, &element_type)) { int nelements = sz/float_type_size(element_type); if (nelements <= 1) { @@ -342,12 +342,12 @@ ffi_prep_cif_machdep(ffi_cif *cif) break; case FFI_TYPE_FLOAT: - is_simple = FALSE; + is_simple = false; cif->flags = FFI_TYPE_FLOAT; break; case FFI_TYPE_DOUBLE: - is_simple = FALSE; + is_simple = false; cif->flags = FFI_TYPE_DOUBLE; break; |