Added a GNU C implementation of some of the DECLSPEC_ macros and used
them wherever possible.

8 files changed