summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/bits
diff options
context:
space:
mode:
authorTobias Anderberg <tobias.anderberg@axis.com>2003-08-27 13:13:47 +0000
committerTobias Anderberg <tobias.anderberg@axis.com>2003-08-27 13:13:47 +0000
commit393352a70f29189d8eed9127bce386a88501a3c5 (patch)
tree9c5728c3c5365a73762f6cf9458849266da1b0d3 /libc/sysdeps/linux/cris/bits
parent3928dcdff3d955cb2ed2608b2d328d1ad7e7d9d7 (diff)
Cosmetic changes.
Diffstat (limited to 'libc/sysdeps/linux/cris/bits')
-rw-r--r--libc/sysdeps/linux/cris/bits/byteswap.h7
-rw-r--r--libc/sysdeps/linux/cris/bits/syscalls.h2
2 files changed, 5 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/cris/bits/byteswap.h b/libc/sysdeps/linux/cris/bits/byteswap.h
index 60544a0ad..f152d73e8 100644
--- a/libc/sysdeps/linux/cris/bits/byteswap.h
+++ b/libc/sysdeps/linux/cris/bits/byteswap.h
@@ -1,3 +1,6 @@
+#ifndef _BITS_BYTESWAP_H
+#define _BITS_BYTESWAP_H 1
+
#define ___swab16(x) \
({ \
unsigned short __x = (x); \
@@ -42,6 +45,4 @@ static inline unsigned long __fswab32(unsigned long x)
___swab32((x)) : \
__fswab32((x)))
-
-
-
+#endif /* _BITS_BYTESWAP_H */
diff --git a/libc/sysdeps/linux/cris/bits/syscalls.h b/libc/sysdeps/linux/cris/bits/syscalls.h
index 4e9d53e84..5f587854f 100644
--- a/libc/sysdeps/linux/cris/bits/syscalls.h
+++ b/libc/sysdeps/linux/cris/bits/syscalls.h
@@ -6,7 +6,7 @@
#endif
/* Include the __NR_<name> definitions. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#if 0
#ifndef __set_errno