mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	undef gets in case it's a macro
From Thierry Vignaud <tvignaud@mandrakesoft.com>: from rh: undef gets in case it's a macro (see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141423)
This commit is contained in:
		
							parent
							
								
									e02c51a199
								
							
						
					
					
						commit
						180f51943e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,7 @@
 | 
			
		|||
typedef struct _snd_input_ops {
 | 
			
		||||
	int (*close)(snd_input_t *input);
 | 
			
		||||
	int (*scan)(snd_input_t *input, const char *format, va_list args);
 | 
			
		||||
	char *(*gets)(snd_input_t *input, char *str, size_t size);
 | 
			
		||||
	char *(*(gets))(snd_input_t *input, char *str, size_t size);
 | 
			
		||||
	int (*getch)(snd_input_t *input);
 | 
			
		||||
	int (*ungetch)(snd_input_t *input, int c);
 | 
			
		||||
} snd_input_ops_t;
 | 
			
		||||
| 
						 | 
				
			
			@ -93,7 +93,7 @@ int snd_input_scanf(snd_input_t *input, const char *format, ...)
 | 
			
		|||
 */
 | 
			
		||||
char *snd_input_gets(snd_input_t *input, char *str, size_t size)
 | 
			
		||||
{
 | 
			
		||||
	return input->ops->gets(input, str, size);
 | 
			
		||||
	return (input->ops->gets)(input, str, size);
 | 
			
		||||
}
 | 
			
		||||
			
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue