]> granicus.if.org Git - strace/commitdiff
Rename PRI__s64 to PRI__d64
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 22 Apr 2016 23:54:58 +0000 (23:54 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 23 Apr 2016 00:07:16 +0000 (00:07 +0000)
As PRI__*64 macros mirror PRI*64 macros from inttypes.h, follow the
principle of least astonishment and name these macros the same way.

* defs.h (PRI__s64): Rename to PRI__d64.

defs.h

diff --git a/defs.h b/defs.h
index ac59349f7a3156fb03d572fef773b242a602d82e..0b5f9f9c2d468d69d4da4c1497f97f8023906646 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -787,6 +787,6 @@ extern unsigned num_quals;
 # define PRI__64 "ll"
 #endif
 
-#define PRI__s64 PRI__64"d"
+#define PRI__d64 PRI__64"d"
 #define PRI__u64 PRI__64"u"
 #define PRI__x64 PRI__64"x"