Browse Source

bits/kernel_stat.h: use the same guard on all archs

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger 14 years ago
parent
commit
5134931745

+ 2 - 2
libc/sysdeps/linux/cris/bits/kernel_stat.h

@@ -1,7 +1,7 @@
 /* Taken from linux/include/asm-cris/stat.h */
 
-#ifndef _CRIS_STAT_H
-#define _CRIS_STAT_H
+#ifndef _BITS_STAT_STRUCT_H
+#define _BITS_STAT_STRUCT_H
 
 #ifndef _LIBC
 #error bits/kernel_stat.h is for internal uClibc use only!

+ 2 - 2
libc/sysdeps/linux/hppa/bits/kernel_stat.h

@@ -1,8 +1,8 @@
 /* Ripped from linux/include/asm-parisc/stat.h
  * and renamed 'struct stat' to 'struct kernel_stat' */
 
-#ifndef _PARISC_STAT_H
-#define _PARISC_STAT_H
+#ifndef _BITS_STAT_STRUCT_H
+#define _BITS_STAT_STRUCT_H
 
 #ifndef _LIBC
 #error bits/kernel_stat.h is for internal uClibc use only!

+ 3 - 3
libc/sysdeps/linux/ia64/bits/kernel_stat.h

@@ -1,8 +1,8 @@
 /* Ripped from linux/include/asm-ia64/stat.h
  * and renamed 'struct stat' to 'struct kernel_stat' */
 
-#ifndef _ASM_IA64_STAT_H
-#define _ASM_IA64_STAT_H
+#ifndef _BITS_STAT_STRUCT_H
+#define _BITS_STAT_STRUCT_H
 
 #ifndef _LIBC
 #error bits/kernel_stat.h is for internal uClibc use only!
@@ -34,4 +34,4 @@ struct kernel_stat {
 /* ia64 stat64 is same as stat */
 #define kernel_stat64 kernel_stat
 
-#endif /* _ASM_IA64_STAT_H */
+#endif /* _BITS_STAT_STRUCT_H */

+ 2 - 2
libc/sysdeps/linux/x86_64/bits/kernel_stat.h

@@ -1,8 +1,8 @@
 /* Ripped from linux/include/asm-x86_64/stat.h
  * and renamed 'struct stat' to 'struct kernel_stat' */
 
-#ifndef _ASM_X86_64_STAT_H
-#define _ASM_X86_64_STAT_H
+#ifndef _BITS_STAT_STRUCT_H
+#define _BITS_STAT_STRUCT_H
 
 #ifndef _LIBC
 #error bits/kernel_stat.h is for internal uClibc use only!