Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/tools/ctf/common Mark more function...
details: https://anonhg.NetBSD.org/src/rev/ee7f168f2972
branches: trunk
changeset: 343447:ee7f168f2972
user: roy <roy%NetBSD.org@localhost>
date: Thu Feb 04 18:46:37 2016 +0000
description:
Mark more functions as __printflike and __dead.
diffstat:
external/cddl/osnet/dist/tools/ctf/common/utils.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (18 lines):
diff -r 4c1fbd45167f -r ee7f168f2972 external/cddl/osnet/dist/tools/ctf/common/utils.h
--- a/external/cddl/osnet/dist/tools/ctf/common/utils.h Thu Feb 04 17:47:43 2016 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/common/utils.h Thu Feb 04 18:46:37 2016 +0000
@@ -39,10 +39,10 @@
#define E_ERROR 1 /* Exit status for error */
#define E_USAGE 2 /* Exit status for usage error */
-extern void vwarn(const char *, va_list);
-extern void warn(const char *, ...);
-extern void vdie(const char *, va_list);
-extern void die(const char *, ...);
+extern void vwarn(const char *, va_list) __printflike(1, 0);
+extern void warn(const char *, ...) __printflike(1, 2);
+extern void vdie(const char *, va_list) __printflike(1, 0) __dead;
+extern void die(const char *, ...) __printflike(1, 2) __dead;
extern const char *getpname(void);
Home |
Main Index |
Thread Index |
Old Index