 b6cbf7203b
			
		
	
	
		b6cbf7203b
		
	
	
	
	
		
			
			This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
		
			
				
	
	
		
			27 lines
		
	
	
		
			493 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			493 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*	$NetBSD: _catclose.c,v 1.7 2005/09/13 01:44:09 christos Exp $	*/
 | |
| 
 | |
| /*
 | |
|  * Written by J.T. Conklin, 10/05/94
 | |
|  * Public domain.
 | |
|  */
 | |
| 
 | |
| #include <sys/cdefs.h>
 | |
| #if defined(LIBC_SCCS) && !defined(lint)
 | |
| __RCSID("$NetBSD: _catclose.c,v 1.7 2005/09/13 01:44:09 christos Exp $");
 | |
| #endif /* LIBC_SCCS and not lint */
 | |
| 
 | |
| #if defined(__indr_reference)
 | |
| __indr_reference(_catclose, catclose)
 | |
| #else
 | |
| 
 | |
| #include <nl_types.h>
 | |
| int	_catclose(nl_catd);
 | |
| 
 | |
| int
 | |
| catclose(nl_catd catd)
 | |
| {
 | |
| 	return _catclose(catd);
 | |
| }
 | |
| 
 | |
| #endif
 |