Merge "Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes."
This commit is contained in:
commit
5a9911e940
1 changed files with 4 additions and 0 deletions
|
@ -478,6 +478,8 @@ __END_DECLS
|
|||
|
||||
#if defined(__BIONIC_FORTIFY_INLINE)
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
__BIONIC_FORTIFY_INLINE
|
||||
__attribute__((__format__ (printf, 3, 0)))
|
||||
__attribute__((__nonnull__ (3)))
|
||||
|
@ -553,6 +555,8 @@ char *fgets(char *dest, int size, FILE *stream)
|
|||
return __fgets_chk(dest, size, stream, bos);
|
||||
}
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* defined(__BIONIC_FORTIFY_INLINE) */
|
||||
|
||||
#endif /* _STDIO_H_ */
|
||||
|
|
Loading…
Reference in a new issue