Retire the __fgetcookie(), __fgetpendout(), and __fsetfileno() accessors

as we aren't hiding FILE's internals anymore.
This commit is contained in:
John Baldwin 2008-05-05 16:14:02 +00:00
parent 774bd9bf03
commit 143b946188
4 changed files with 0 additions and 36 deletions

View File

@ -346,12 +346,6 @@ int setlinebuf(FILE *);
int vasprintf(char **, const char *, __va_list)
__printflike(2, 0);
/* XXX used by libftpio */
void *__fgetcookie(FILE *);
void __fsetfileno(FILE *, int);
/* XXX used by sort */
size_t __fgetpendout(FILE *);
/*
* The system error table contains messages for the first sys_nerr
* positive errno values. Use strerror() or strerror_r() from <string.h>

View File

@ -15,6 +15,3 @@ FBSD_1.1 {
# simple ABI-checking tools.
FBSDprivate_1.0 {
} FBSD_1.0;
FBSDprivate_1.1 {
} FBSD_1.1;

View File

@ -149,9 +149,3 @@ FBSDprivate_1.0 {
__printf_arginfo_vis;
__printf_render_vis;
};
FBSDprivate_1.1 {
__fgetcookie;
__fgetpendout;
__fsetfileno;
};

View File

@ -46,27 +46,6 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
#include "local.h"
void *
__fgetcookie(FILE *fp)
{
return (fp->_cookie);
}
size_t
__fgetpendout(FILE *fp)
{
return (fp->_p - fp->_bf._base);
}
void
__fsetfileno(FILE *fp, int fd)
{
fp->_file = fd;
}
/*
* Small standard I/O/seek/close functions.
*/