aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src/Emsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/src/Emsg.h')
-rw-r--r--gprofng/src/Emsg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gprofng/src/Emsg.h b/gprofng/src/Emsg.h
index bed664b..9dbacea 100644
--- a/gprofng/src/Emsg.h
+++ b/gprofng/src/Emsg.h
@@ -105,7 +105,8 @@ public:
Vector<Emsg*> *msgs;
void remove_msg (Emsg *msg);
Emsg *get_error ();
- Emsg *append_msg (Cmsg_warn w, const char *fmt, ...);
+ Emsg *append_msg (Cmsg_warn w, const char *fmt, ...)
+ __attribute__ ((format (printf, 3, 4)));
void append_msgs (Vector<Emsg*> *lst);
};