projects
/
rrq
/
maintain_lilo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 23.2
[rrq/maintain_lilo.git]
/
src
/
common.h
diff --git
a/src/common.h
b/src/common.h
index 268a9fea0fb89ae9fb41604dc64b76e003c141e7..b4106f69b6c9dc9a38c4fc4926f1d5fe826e9cf9 100644
(file)
--- a/
src/common.h
+++ b/
src/common.h
@@
-396,11
+396,12
@@
extern int dm_major_nr;
#define comma (cc(First)|cc(Second)|cc(Third)|cc(Bitmap)|cc(Chain)|cc(Mbr)|cc(Mbr2))
#define comma (cc(First)|cc(Second)|cc(Third)|cc(Bitmap)|cc(Chain)|cc(Mbr)|cc(Mbr2))
-/*volatile*/ void pdie(c
har *msg
);
+/*volatile*/ void pdie(c
onst char *msg) __attribute__ ((noreturn)
);
/* Do a perror and then exit. */
/* Do a perror and then exit. */
-/*volatile*/ void die(char *fmt,...);
+/*volatile*/ void __attribute__ ((format (printf, 1, 2)))
+ __attribute__ ((noreturn)) die(const char *fmt,...);
/* fprintf an error message and then exit. */
/* fprintf an error message and then exit. */