Merge pull request #207 from tromey/deprecate-ffi-prep-closure mark ffi_prep_closure as deprecated
diff --git a/include/ffi.h.in b/include/ffi.h.in
index c43d52f..b07ca85 100644
--- a/include/ffi.h.in
+++ b/include/ffi.h.in
@@ -337,7 +337,8 @@ ffi_status
ffi_prep_closure (ffi_closure*,
ffi_cif *,
void (*fun)(ffi_cif*,void*,void**,void*),
- void *user_data);
+ void *user_data)
+ __attribute__((deprecated ("use ffi_prep_closure_loc instead")));
ffi_status
ffi_prep_closure_loc (ffi_closure*,