about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/makedev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/makedev.c')
-rw-r--r--sysdeps/unix/sysv/linux/makedev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/makedev.c b/sysdeps/unix/sysv/linux/makedev.c
index 4708e6d419..93b7012da5 100644
--- a/sysdeps/unix/sysv/linux/makedev.c
+++ b/sysdeps/unix/sysv/linux/makedev.c
@@ -21,19 +21,19 @@
 #include <sys/sysmacros.h>
 
 unsigned int
-major (unsigned long long int dev)
+gnu_dev_major (unsigned long long int dev)
 {
   return ((dev >> 8) & 0xfff) | ((unsigned int) (dev >> 32) & ~0xfff);
 }
 
 unsigned int
-minor (unsigned long long int dev)
+gnu_dev_minor (unsigned long long int dev)
 {
   return (dev & 0xff) | ((unsigned int) (dev >> 12) & ~0xff);
 }
 
 unsigned long long int
-makedev (unsigned int major, unsigned int minor)
+gnu_dev_makedev (unsigned int major, unsigned int minor)
 {
   return ((minor & 0xff) | ((major & 0xfff) << 8)
 	  | (((unsigned long long int) (minor & ~0xff)) << 12)