Libraries updates and cleanup

* Updating common/lib
 * Updating lib/csu
 * Updating lib/libc
 * Updating libexec/ld.elf_so
 * Corrected test on __minix in featuretest to actually follow the
   meaning of the comment.
 * Cleaned up _REENTRANT-related defintions.
 * Disabled -D_REENTRANT for libfetch
 * Removing some unneeded __NBSD_LIBC defines and tests

Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
This commit is contained in:
2012-11-15 12:06:41 +01:00
parent f6aac1c3b5
commit f14fb60209
1285 changed files with 44244 additions and 14308 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: rmt.h,v 1.6 2010/08/31 05:12:35 enami Exp $ */
/* $NetBSD: rmt.h,v 1.7 2011/02/16 19:29:35 christos Exp $ */
/*
* rmt.h
@@ -19,6 +19,11 @@
#include <sys/cdefs.h>
#if _FORTIFY_SOURCE > 0
#define __ssp_weak_name(x) rmt ## x
#include <ssp/unistd.h>
#endif
__BEGIN_DECLS
int isrmt(int);
int rmtaccess(const char *, int);
@@ -49,7 +54,9 @@ __END_DECLS
#define lseek rmtlseek
#define lstat rmtlstat
#define open rmtopen
#if __SSP_FORTIFY_LEVEL == 0
#define read rmtread
#endif
#define stat rmtstat
#define write rmtwrite
#endif /* __RMTLIB_PRIVATE */