mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	use gcc malloc attribute macros for internal functions, too
This commit is contained in:
		
							parent
							
								
									5467cc390d
								
							
						
					
					
						commit
						2c2b2717eb
					
				
					 2 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -46,7 +46,7 @@
 | 
			
		|||
 | 
			
		||||
static void oom(void) PA_GCC_NORETURN;
 | 
			
		||||
 | 
			
		||||
/** called in case of an OOM situation. Prints an error message and
 | 
			
		||||
/* called in case of an OOM situation. Prints an error message and
 | 
			
		||||
 * exits */
 | 
			
		||||
static void oom(void) {
 | 
			
		||||
    static const char e[] = "Not enough memory\n";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue