From: Paul Pluzhnikov Date: Sat, 7 May 2011 13:03:36 +0000 (-0400) Subject: Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h X-Git-Tag: upstream/2.20~5473 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a35c9120fedda4d5cce1d37783e1f8bf6fc58da;p=platform%2Fupstream%2Flinaro-glibc.git Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h --- diff --git a/ChangeLog b/ChangeLog index 83c0f9b..d7bb734 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-06 Paul Pluzhnikov + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing + __BEGIN/__END_DECLS. + 2011-05-06 Ulrich Drepper * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return diff --git a/sysdeps/unix/sysv/linux/sys/sysmacros.h b/sysdeps/unix/sysv/linux/sys/sysmacros.h index 92b3a19..92501d4 100644 --- a/sysdeps/unix/sysv/linux/sys/sysmacros.h +++ b/sysdeps/unix/sysv/linux/sys/sysmacros.h @@ -1,5 +1,5 @@ /* Definitions of macros to access `dev_t' values. - Copyright (C) 1996, 1997, 1999, 2003, 2004, 2007 + Copyright (C) 1996, 1997, 1999, 2003, 2004, 2007, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -27,6 +27,8 @@ not going to hack weird hacks to support the dev_t representation they need. */ #ifdef __GLIBC_HAVE_LONG_LONG +__BEGIN_DECLS + __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __THROW; @@ -58,6 +60,8 @@ __NTH (gnu_dev_makedev (unsigned int __major, unsigned int __minor)) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } + +__END_DECLS # endif