summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2011-05-07 09:03:36 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-07 09:03:36 -0400
commit8a35c9120fedda4d5cce1d37783e1f8bf6fc58da (patch)
tree9f3c554ca934955c568c18d94407ee2e98a26e50 /sysdeps/unix/sysv/linux/sys
parentacd41f47eae558eb35871de3af7114c43093ff99 (diff)
downloadglibc-8a35c9120fedda4d5cce1d37783e1f8bf6fc58da.tar.gz
Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysmacros.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/sysmacros.h b/sysdeps/unix/sysv/linux/sys/sysmacros.h
index 92b3a19d4f..92501d4898 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