Renamed __cleanup() to _IO_cleanup() to be able to compile the glibc version
as well. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3147 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2b64308b14
commit
f57208999e
@ -170,6 +170,6 @@ void
|
|||||||
__sinit()
|
__sinit()
|
||||||
{
|
{
|
||||||
/* make sure we clean up on exit */
|
/* make sure we clean up on exit */
|
||||||
__cleanup = _cleanup; /* conservative */
|
_IO_cleanup = _cleanup; /* conservative */
|
||||||
__sdidinit = 1;
|
__sdidinit = 1;
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ fpos_t __sseek (void *, fpos_t, int);
|
|||||||
int __sclose (void *);
|
int __sclose (void *);
|
||||||
void __sinit (void);
|
void __sinit (void);
|
||||||
void _cleanup (void);
|
void _cleanup (void);
|
||||||
void (*__cleanup) (void);
|
void (*_IO_cleanup) (void);
|
||||||
void __smakebuf (FILE *);
|
void __smakebuf (FILE *);
|
||||||
int __swhatbuf (FILE *, size_t *, int *);
|
int __swhatbuf (FILE *, size_t *, int *);
|
||||||
int _fwalk (int (*)(FILE *));
|
int _fwalk (int (*)(FILE *));
|
||||||
|
@ -68,7 +68,7 @@ __smakebuf(fp)
|
|||||||
fp->_bf._size = 1;
|
fp->_bf._size = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
__cleanup = _cleanup;
|
_IO_cleanup = _cleanup;
|
||||||
flags |= __SMBF;
|
flags |= __SMBF;
|
||||||
fp->_bf._base = fp->_p = p;
|
fp->_bf._base = fp->_p = p;
|
||||||
fp->_bf._size = size;
|
fp->_bf._size = size;
|
||||||
|
Loading…
Reference in New Issue
Block a user