mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-24 22:24:39 +03:00
move __stdio_exit_needed to stdio_impl.h
this functions is glue for linking dependency logic.
This commit is contained in:
parent
7dc8df56c1
commit
50a298ea3b
@ -61,6 +61,8 @@ size_t __string_read(FILE *, unsigned char *, size_t);
|
||||
int __toread(FILE *);
|
||||
int __towrite(FILE *);
|
||||
|
||||
void __stdio_exit_needed(void);
|
||||
|
||||
#if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303)
|
||||
__attribute__((visibility("protected")))
|
||||
#endif
|
||||
|
@ -13,8 +13,6 @@ int __toread(FILE *f)
|
||||
return (f->flags & F_EOF) ? EOF : 0;
|
||||
}
|
||||
|
||||
void __stdio_exit_needed(void);
|
||||
|
||||
void __toread_needs_stdio_exit()
|
||||
{
|
||||
__stdio_exit_needed();
|
||||
|
@ -17,8 +17,6 @@ int __towrite(FILE *f)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void __stdio_exit_needed(void);
|
||||
|
||||
void __towrite_needs_stdio_exit()
|
||||
{
|
||||
__stdio_exit_needed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user