From 6c07077a61fd0dc5ac11759ea1b4345acf486f3c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 21 Feb 2016 20:08:21 -0700 Subject: [PATCH] Change ffi.h.in so that braces match This is a tiny refactoring to make it so brace-matching works in Emacs. --- include/ffi.h.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/ffi.h.in b/include/ffi.h.in index ba1884f1..00c1caa8 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