mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-30 08:23:49 +03:00 
			
		
		
		
	r13019: Again protect us against format string mismatches, with the new split
out proto headers. The reason this is done in this way is that the attribute must be on the prototype, not the actual function defintion. Hence the macros which expand to nothing in the C file, but expand to an __attribute__ in the prototype header. Andrew Bartlett
This commit is contained in:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							f50186e930
						
					
				
				
					commit
					a88933668f
				
			| @@ -112,12 +112,13 @@ struct ipv4_addr { | ||||
| #include "auth/credentials/credentials.h" | ||||
| #include "libcli/nbt/libnbt.h" | ||||
|  | ||||
| /***** automatically generated prototypes *****/ | ||||
| #include "include/proto.h" | ||||
| #include "basic.h" | ||||
| #undef _PRINTF_ATTRIBUTE | ||||
| #define _PRINTF_ATTRIBUTE(a1, a2) | ||||
|  | ||||
| /***** automatically generated prototypes *****/ | ||||
| #include "basic.h" | ||||
| #include "include/proto.h" | ||||
|  | ||||
| /* String routines */ | ||||
|  | ||||
| #include "safe_string.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user