diff mbox series

[4/5] libmpathpersist: remove __STDC_FORMAT_MACROS

Message ID 20211216125502.15867-5-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series libmpathpersist: cleanup ABI and headers | expand

Commit Message

Martin Wilck Dec. 16, 2021, 12:55 p.m. UTC
From: Martin Wilck <mwilck@suse.com>

This has no effect. If at all, it should have been included before
inttypes.h.

See https://stackoverflow.com/questions/8132399/how-to-printf-uint64-t-fails-with-spurious-trailing-in-format/8132440#8132440

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmpathpersist/mpath_persist_int.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/libmpathpersist/mpath_persist_int.c b/libmpathpersist/mpath_persist_int.c
index 7f6ac04..91bc35a 100644
--- a/libmpathpersist/mpath_persist_int.c
+++ b/libmpathpersist/mpath_persist_int.c
@@ -34,7 +34,6 @@ 
 #include "mpath_pr_ioctl.h"
 
 
-#define __STDC_FORMAT_MACROS 1
 
 static int mpath_send_prin_activepath (char * dev, int rq_servact,
 				struct prin_resp * resp, int noisy)