diff options
author | Martin Mares <mj@ucw.cz> | 2003-12-26 21:30:06 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2006-05-05 14:18:09 +0200 |
commit | 91e37a491b610fe05469fcc2342ac9be653cf06f (patch) | |
tree | 2350b0cc0ce39b81c23cb080de81811485b4b671 /common.c | |
parent | b7351143a18cdcc60f1a1b3efef94864b0f61e9c (diff) | |
download | pciutils-91e37a491b610fe05469fcc2342ac9be653cf06f.tar.gz |
Introduced NONRET macro
pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
the GCC specific __attribute__((noreturn)) and killed the hack with
redefining __attribute__ on non-GCC compilers.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-10
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* * Linux PCI Utilities -- Common Functions * - * Copyright (c) 1997--1999 Martin Mares <mj@ucw.cz> + * Copyright (c) 1997--2003 Martin Mares <mj@ucw.cz> * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -14,7 +14,7 @@ #include "pciutils.h" -void __attribute__((noreturn)) +void NONRET die(char *msg, ...) { va_list args; |