Generate foo(void) rather than foo() in FFI stub files
authorIan Lynagh <igloo@earth.li>
Sat, 16 Feb 2008 14:10:31 +0000 (14:10 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 16 Feb 2008 14:10:31 +0000 (14:10 +0000)
commit4ed757bae92c8132d4b6c8e07115b28999763c76
tree6301a444ea6de1a086a4d3bcea227137c51c4a65
parent5921bc63bbe86838ff3d7b9911b4122c34eaf0ab
Generate foo(void) rather than foo() in FFI stub files
-Wstrict-prototypes warns about the latter.
Patch from pcc in trac #2100.
compiler/deSugar/DsForeign.lhs