Remove GCC dependend UNUSED macro
Use using instead of typedef in stdmacro. Minor commenting changes.
Replace typedefs by using.