Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Add missing __BEGIN_DECLS/__END_DECLS.



details:   https://anonhg.NetBSD.org/src/rev/85b1f7c6f2be
branches:  trunk
changeset: 786207:85b1f7c6f2be
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Apr 19 23:42:26 2013 +0000

description:
Add missing __BEGIN_DECLS/__END_DECLS.

diffstat:

 include/stdio.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f1a3282dcb9c -r 85b1f7c6f2be include/stdio.h
--- a/include/stdio.h   Fri Apr 19 23:32:16 2013 +0000
+++ b/include/stdio.h   Fri Apr 19 23:42:26 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdio.h,v 1.85 2013/04/19 23:32:16 joerg Exp $ */
+/*     $NetBSD: stdio.h,v 1.86 2013/04/19 23:42:26 joerg Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -532,6 +532,7 @@
 typedef struct _locale         *locale_t;
 #  define __LOCALE_T_DECLARED
 #  endif
+__BEGIN_DECLS
 int     fprintf_l(FILE * __restrict, locale_t, const char * __restrict, ...)
                __printflike(3, 4);
 int     vfprintf_l(FILE * __restrict, locale_t, const char * __restrict,
@@ -574,6 +575,7 @@
     __va_list) __scanflike(3, 0);
 int     vsscanf_l(const char * __restrict, locale_t, const char * __restrict,
     __va_list) __scanflike(3, 0);
+__END_DECLS
 #endif
 
 #if _FORTIFY_SOURCE > 0



Home | Main Index | Thread Index | Old Index