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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178782
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.
*/