]> git.eshelyaron.com Git - emacs.git/commitdiff
* emacsclient.c (message): Mark it as a printf-like function.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Apr 2011 19:59:58 +0000 (12:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Apr 2011 19:59:58 +0000 (12:59 -0700)
lib-src/ChangeLog
lib-src/emacsclient.c

index 78548ee68707ea3abcc1e087cb54d021b0e85dc3..93c017935f90766c5be8f7e0a466ebccc0024700 100644 (file)
@@ -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.
index 737a8d885866a2c15bceb6e10a4449d16f29e6d7..c5231fb9989fd722aec321082fc60f3913a0b0f4 100644 (file)
@@ -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, ...)
 {