my_printf: eliminated warning about ignored return value
added attributes
attributes: added attribute macros and attributes to functions.