Tags: patch Attached is a first cut to implement something along the lines that Stefan has been suggesting for a while, namely, to compute declarations for DEFSYM variables automatically. This should help avoid needless clutter in the C code and silly errors involving mismatched decls etc. This version is tested on Fedora 19 x86-64 and Solaris 10 sparc-32. I plan to do a bit more testing before installing it. I don't know of any reason it wouldn't work with Microsoft platforms but I'm no expert there.