gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 02/14: Use GNU printf format


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/14: Use GNU printf format
Date: Sat, 25 Feb 2017 22:04:52 +0100

This is an automated email from the git hooks/post-receive script.

lrn pushed a commit to branch master
in repository gnunet.

commit e933b0a58ab7b0f21faef0267c2cb835cabd5a03
Author: Руслан Ижбулатов <address@hidden>
AuthorDate: Sat Feb 25 12:44:28 2017 +0000

    Use GNU printf format
    
    This change only affects W32. GCC resolves "printf" format attribute to 
"gnu_printf"
    or "ms_printf" depending on the host platform. Make sure it uses gnu_printf 
even on
    W32, because all format strings GNUnet uses are in GNU format.
---
 src/include/gnunet_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index fdcae66fa..bda011fb2 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -391,7 +391,7 @@ GNUNET_get_log_call_status (int caller_level,
  */
 void
 GNUNET_log_nocheck (enum GNUNET_ErrorType kind, const char *message, ...)
-  __attribute__ ((format (printf, 2, 3)));
+  __attribute__ ((format (gnu_printf, 2, 3)));
 
 /* from glib */
 #if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]