tools-common: add gcc attributes
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 14:21:47 +0000 (15:21 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 14:21:47 +0000 (15:21 +0100)
commit4d5c016bd1b6dcc965278f80c960e942eb627ce4
tree8e6b10223063ffcb3a6a632027663fa6c0b04884
parentd184d41670728bc6516e8089c100ebe9c4f9cdca
tools-common: add gcc attributes

Add macros for two gcc attributes and use them in die()
and die_perror().

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tools-common.c