mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-11-03 01:06:33 +01:00 
			
		
		
		
	use strict prototype
h_malloc.c:83:21: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
       83 | static inline void *get_slab_region_end() {
          |                     ^~~~~~~~~~~~~~~~~~~
			
			
This commit is contained in:
		
							parent
							
								
									f022fb87d7
								
							
						
					
					
						commit
						6b4a5d7cbf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -80,7 +80,7 @@ static union {
 | 
				
			||||||
    char padding[PAGE_SIZE];
 | 
					    char padding[PAGE_SIZE];
 | 
				
			||||||
} ro __attribute__((aligned(PAGE_SIZE)));
 | 
					} ro __attribute__((aligned(PAGE_SIZE)));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static inline void *get_slab_region_end() {
 | 
					static inline void *get_slab_region_end(void) {
 | 
				
			||||||
    return atomic_load_explicit(&ro.slab_region_end, memory_order_acquire);
 | 
					    return atomic_load_explicit(&ro.slab_region_end, memory_order_acquire);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue