am fb9a47c7
: Merge "Hide various stdio implementation details."
* commit 'fb9a47c740661a1c578cfc4f16180f14724cbdf5': Hide various stdio implementation details.
This commit is contained in:
@@ -42,4 +42,8 @@ struct glue {
|
|||||||
FILE *iobs;
|
FILE *iobs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#pragma GCC visibility push(hidden)
|
||||||
|
|
||||||
extern struct glue __sglue;
|
extern struct glue __sglue;
|
||||||
|
|
||||||
|
#pragma GCC visibility pop
|
||||||
|
@@ -41,6 +41,8 @@
|
|||||||
#include "wcio.h"
|
#include "wcio.h"
|
||||||
#include "fileext.h"
|
#include "fileext.h"
|
||||||
|
|
||||||
|
#pragma GCC visibility push(hidden)
|
||||||
|
|
||||||
int __sflush(FILE *);
|
int __sflush(FILE *);
|
||||||
int __sflush_locked(FILE *);
|
int __sflush_locked(FILE *);
|
||||||
FILE *__sfp(void);
|
FILE *__sfp(void);
|
||||||
@@ -118,3 +120,10 @@ static __inline int __sputc(int _c, FILE* _p) {
|
|||||||
return (__swbuf(_c, _p));
|
return (__swbuf(_c, _p));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* OpenBSD declares these in fvwrite.h but we want to ensure they're hidden. */
|
||||||
|
struct __suio;
|
||||||
|
extern int __sfvwrite(FILE *, struct __suio *);
|
||||||
|
wint_t __fputwc_unlock(wchar_t wc, FILE *fp);
|
||||||
|
|
||||||
|
#pragma GCC visibility pop
|
||||||
|
Reference in New Issue
Block a user