* emacsclient.c (message): Mark it as a printf-like function.
This commit is contained in:
parent
aa18133456
commit
72b04a8a97
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-04-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* emacsclient.c (message): Mark it as a printf-like function.
|
||||
|
||||
2011-04-01 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
|
||||
|
|
|
@ -487,6 +487,7 @@ ttyname (int fd)
|
|||
|
||||
/* Display a normal or error message.
|
||||
On Windows, use a message box if compiled as a Windows app. */
|
||||
static void message (int, const char *, ...) ATTRIBUTE_FORMAT_PRINTF (2, 3);
|
||||
static void
|
||||
message (int is_error, const char *format, ...)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue