summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-30 20:51:31 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-30 20:51:31 +0000
commit5f93ab70053b3cb6453004641c70b9ca97ba4d57 (patch)
treed539d68196fc573dfa4defd063c80bb0fe2e0c7b /include/sys
parent9efd18d33815d59900becfac7820902e15b6126e (diff)
Cleanup some dead wood in the header files
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/sysmacros.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
index 8feb3bbea..85dc3d281 100644
--- a/include/sys/sysmacros.h
+++ b/include/sys/sysmacros.h
@@ -26,30 +26,30 @@
not going to hack weird hacks to support the dev_t representation
they need. */
__extension__
-extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
+static __inline unsigned int gnu_dev_major (unsigned long long int __dev)
__THROW;
__extension__
-extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
+static __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
__THROW;
__extension__
-extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
+static __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
unsigned int __minor)
__THROW;
#if defined __GNUC__ && __GNUC__ >= 2
-__extension__ extern __inline unsigned int
+__extension__ static __inline unsigned int
gnu_dev_major (unsigned long long int __dev) __THROW
{
return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
-__extension__ extern __inline unsigned int
+__extension__ static __inline unsigned int
gnu_dev_minor (unsigned long long int __dev) __THROW
{
return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
-__extension__ extern __inline unsigned long long int
+__extension__ static __inline unsigned long long int
gnu_dev_makedev (unsigned int __major, unsigned int __minor) __THROW
{
return ((__minor & 0xff) | ((__major & 0xfff) << 8)