Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge "Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio pro…
Browse files Browse the repository at this point in the history
…totypes."
  • Loading branch information
enh-google authored and Gerrit Code Review committed Oct 22, 2012
2 parents 574773b + ce45fea commit 5a9911e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libc/include/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ __END_DECLS

#if defined(__BIONIC_FORTIFY_INLINE)

__BEGIN_DECLS

__BIONIC_FORTIFY_INLINE
__attribute__((__format__ (printf, 3, 0)))
__attribute__((__nonnull__ (3)))
Expand Down Expand Up @@ -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_ */

0 comments on commit 5a9911e

Please sign in to comment.