Fix format strings and signatures for fixed size integers
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
		
							parent
							
								
									79d0e1a43c
								
							
						
					
					
						commit
						4200f9a846
					
				
					 35 changed files with 245 additions and 230 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ extern "C" {
 | 
			
		|||
 | 
			
		||||
#if defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 402
 | 
			
		||||
# define DDSRT_GNUC_STR(s) #s
 | 
			
		||||
# define DDSRT_GNUC_JOINSTR(x,y) DDSRT_GNUC_DIAG_STR(x ## y)
 | 
			
		||||
# define DDSRT_GNUC_JOINSTR(x,y) DDSRT_GNUC_STR(x ## y)
 | 
			
		||||
# define DDSRT_GNUC_DO_PRAGMA(x) _Pragma (#x)
 | 
			
		||||
# define DDSRT_GNUC_PRAGMA(x) DDSRT_GNUC_DO_PRAGMA(GCC diagnostic x)
 | 
			
		||||
# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,12 +8,14 @@
 | 
			
		|||
#include "dds/ddsrt/attributes.h"
 | 
			
		||||
#include "dds/ddsrt/retcode.h"
 | 
			
		||||
#include "dds/ddsrt/time.h"
 | 
			
		||||
#if !defined(_WIN32)
 | 
			
		||||
#include "dds/ddsrt/sockets/posix.h"
 | 
			
		||||
#else
 | 
			
		||||
#if _WIN32
 | 
			
		||||
#include "dds/ddsrt/sockets/windows.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "dds/ddsrt/sockets/posix.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define INET_ADDRSTRLEN_EXTENDED (INET_ADDRSTRLEN + 6) /* ":12345" */
 | 
			
		||||
 | 
			
		||||
#if DDSRT_HAVE_IPV6
 | 
			
		||||
#define INET6_ADDRSTRLEN_EXTENDED (INET6_ADDRSTRLEN + 8) /* "[]:12345" */
 | 
			
		||||
extern const struct in6_addr ddsrt_in6addr_any;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue