diff options
author | Tom Tromey <tom@tromey.com> | 2016-02-21 20:08:21 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-05-04 06:38:34 -1000 |
commit | 6c07077a61fd0dc5ac11759ea1b4345acf486f3c (patch) | |
tree | 3498d79ea5227144fbd47b8eb922cb1717489f05 /include | |
parent | 2fbc0369b89a7e6b089e6384b98dba904ec1cf8b (diff) | |
download | libffi-6c07077a61fd0dc5ac11759ea1b4345acf486f3c.tar.gz |
Change ffi.h.in so that braces match
This is a tiny refactoring to make it so brace-matching works in
Emacs.
Diffstat (limited to 'include')
-rw-r--r-- | include/ffi.h.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/ffi.h.in b/include/ffi.h.in index ba1884f..00c1caa 100644 --- a/include/ffi.h.in +++ b/include/ffi.h.in @@ -305,10 +305,13 @@ typedef struct { ffi_cif *cif; void (*fun)(ffi_cif*,void*,void**,void*); void *user_data; +} ffi_closure #ifdef __GNUC__ -} ffi_closure __attribute__((aligned (8))); -#else -} ffi_closure; + __attribute__((aligned (8))) +#endif + ; + +#ifndef __GNUC__ # ifdef __sgi # pragma pack 0 # endif |