 3c9575aadc
			
		
	
	
		3c9575aadc
		
	
	
	
	
		
			
			This patch add the proper .if/.else/.endif to the Makefiles, add places I forgot #ifdef __minix and remove newlines.
		
			
				
	
	
		
			36 lines
		
	
	
		
			598 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			598 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*	$NetBSD: _warnx.c,v 1.10 2005/09/13 01:44:09 christos Exp $	*/
 | |
| 
 | |
| /*
 | |
|  * J.T. Conklin, December 12, 1994
 | |
|  * Public Domain
 | |
|  */
 | |
| 
 | |
| #include <sys/cdefs.h>
 | |
| #if defined(LIBC_SCCS) && !defined(lint)
 | |
| __RCSID("$NetBSD: _warnx.c,v 1.10 2005/09/13 01:44:09 christos Exp $");
 | |
| #endif /* LIBC_SCCS and not lint */
 | |
| 
 | |
| #if defined(__indr_reference)
 | |
| __indr_reference(_warnx, warnx)
 | |
| #else
 | |
| 
 | |
| #include <stdarg.h>
 | |
| 
 | |
| void _vwarnx(const char *, _BSD_VA_LIST_);
 | |
| 
 | |
| void
 | |
| warnx(const char *fmt, ...)
 | |
| {
 | |
| 	va_list ap;
 | |
| 
 | |
| 	va_start(ap, fmt);
 | |
| #ifdef __minix
 | |
| 	_vwarnx(fmt, ap);
 | |
| #else
 | |
| 	_vwarnx(eval, fmt, ap);
 | |
| #endif
 | |
| 	va_end(ap);
 | |
| }
 | |
| 
 | |
| #endif
 |