mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-11-04 09:46:32 +01:00 
			
		
		
		
	add __BEGIN_DECLS / __END_DECLS
This commit is contained in:
		
							parent
							
								
									ced3b0e070
								
							
						
					
					
						commit
						a1e0d97864
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -5,6 +5,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <malloc.h>
 | 
					#include <malloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					__BEGIN_DECLS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef H_MALLOC_PREFIX
 | 
					#ifndef H_MALLOC_PREFIX
 | 
				
			||||||
#define h_malloc malloc
 | 
					#define h_malloc malloc
 | 
				
			||||||
#define h_calloc calloc
 | 
					#define h_calloc calloc
 | 
				
			||||||
| 
						 | 
					@ -103,4 +105,6 @@ size_t h_malloc_object_size_fast(void *ptr);
 | 
				
			||||||
// passed size matches the allocated size.
 | 
					// passed size matches the allocated size.
 | 
				
			||||||
void h_free_sized(void *ptr, size_t expected_size);
 | 
					void h_free_sized(void *ptr, size_t expected_size);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					__END_DECLS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue