diff options
| author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-06 20:05:33 +0000 |
|---|---|---|
| committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-06 20:05:33 +0000 |
| commit | 18854ff6cc1edff0dce796def3de579e1afa55b8 (patch) | |
| tree | bcac03c9a446a168dc61fe2dcfd71bbb9e5677ad /libffi/src/x86 | |
| parent | e3981975a494d01e903bd3bc15f3acd840c2a7d2 (diff) | |
| download | ppe42-gcc-18854ff6cc1edff0dce796def3de579e1afa55b8.tar.gz ppe42-gcc-18854ff6cc1edff0dce796def3de579e1afa55b8.zip | |
Remove warnings
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162959 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/x86')
| -rw-r--r-- | libffi/src/x86/ffi.c | 8 | ||||
| -rw-r--r-- | libffi/src/x86/ffitarget.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libffi/src/x86/ffi.c b/libffi/src/x86/ffi.c index 80496532a30..69a4dcddeaa 100644 --- a/libffi/src/x86/ffi.c +++ b/libffi/src/x86/ffi.c @@ -209,7 +209,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif) #endif { cif->flags = FFI_TYPE_STRUCT; - // allocate space for return value pointer + /* allocate space for return value pointer */ cif->bytes += ALIGN(sizeof(void*), FFI_SIZEOF_ARG); } break; @@ -234,7 +234,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif) } #ifdef X86_WIN64 - // ensure space for storing four registers + /* ensure space for storing four registers */ cif->bytes += 4 * sizeof(ffi_arg); #endif @@ -292,8 +292,8 @@ void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) #ifdef X86_WIN64 case FFI_WIN64: { - // Make copies of all struct arguments - // NOTE: not sure if responsibility should be here or in caller + /* Make copies of all struct arguments + NOTE: not sure if responsibility should be here or in caller */ unsigned int i; for (i=0; i < cif->nargs;i++) { size_t size = cif->arg_types[i]->size; diff --git a/libffi/src/x86/ffitarget.h b/libffi/src/x86/ffitarget.h index 89a8983da9a..b85016cc01b 100644 --- a/libffi/src/x86/ffitarget.h +++ b/libffi/src/x86/ffitarget.h @@ -38,7 +38,7 @@ #ifdef X86_WIN64 #define FFI_SIZEOF_ARG 8 -#define USE_BUILTIN_FFS 0 // not yet implemented in mingw-64 +#define USE_BUILTIN_FFS 0 /* not yet implemented in mingw-64 */ #endif /* ---- Generic type definitions ----------------------------------------- */ |

