Merge "stdio: make internal symbols static/hidden"
This commit is contained in:
commit
1e0a4e1892
@ -43,7 +43,7 @@
|
|||||||
* so we add 1 here.
|
* so we add 1 here.
|
||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
__slbexpand(FILE *fp, size_t newsize)
|
__slbexpand(FILE *fp, size_t newsize)
|
||||||
{
|
{
|
||||||
void *p;
|
void *p;
|
||||||
|
@ -55,7 +55,7 @@ static FILE usual[FOPEN_MAX - 3];
|
|||||||
static struct __sfileext usualext[FOPEN_MAX - 3];
|
static struct __sfileext usualext[FOPEN_MAX - 3];
|
||||||
static struct glue uglue = { 0, FOPEN_MAX - 3, usual };
|
static struct glue uglue = { 0, FOPEN_MAX - 3, usual };
|
||||||
|
|
||||||
struct __sfileext __sFext[3];
|
static struct __sfileext __sFext[3];
|
||||||
FILE __sF[3] = {
|
FILE __sF[3] = {
|
||||||
std(__SRD, STDIN_FILENO), /* stdin */
|
std(__SRD, STDIN_FILENO), /* stdin */
|
||||||
std(__SWR, STDOUT_FILENO), /* stdout */
|
std(__SWR, STDOUT_FILENO), /* stdout */
|
||||||
|
@ -191,7 +191,7 @@ funlockfile(FILE * fp)
|
|||||||
|
|
||||||
|
|
||||||
/* called from fclose() to remove the file lock */
|
/* called from fclose() to remove the file lock */
|
||||||
void
|
__LIBC_HIDDEN__ void
|
||||||
__fremovelock(FILE* fp)
|
__fremovelock(FILE* fp)
|
||||||
{
|
{
|
||||||
LockTable* t = lock_table_lock();
|
LockTable* t = lock_table_lock();
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
* This routine is large and unsightly, but most of the ugliness due
|
* This routine is large and unsightly, but most of the ugliness due
|
||||||
* to the three different kinds of output buffering is handled here.
|
* to the three different kinds of output buffering is handled here.
|
||||||
*/
|
*/
|
||||||
int
|
__LIBC_HIDDEN__ int
|
||||||
__sfvwrite(FILE *fp, struct __suio *uio)
|
__sfvwrite(FILE *fp, struct __suio *uio)
|
||||||
{
|
{
|
||||||
size_t len;
|
size_t len;
|
||||||
|
@ -65,7 +65,7 @@ mkdtemp(char *path)
|
|||||||
|
|
||||||
char *_mktemp(char *);
|
char *_mktemp(char *);
|
||||||
|
|
||||||
char *
|
__LIBC_HIDDEN__ char *
|
||||||
_mktemp(char *path)
|
_mktemp(char *path)
|
||||||
{
|
{
|
||||||
return(_gettemp(path, (int *)NULL, 0, 0) ? path : (char *)NULL);
|
return(_gettemp(path, (int *)NULL, 0, 0) ? path : (char *)NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user