From ce45fea03ddfd8d6d1900d6777a002dec98ea1e1 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 22 Oct 2012 16:10:27 -0700 Subject: [PATCH] Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes. Change-Id: I35ceb09fedf873c5e98e1e26efce5e4f00a17e74 --- libc/include/stdio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 3f453fe62..20a982965 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -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_ */