@@ -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 */
@@ -6,7 +6,7 @@
#endif
/* Include the __NR_<name> definitions. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#if 0
#ifndef __set_errno
@@ -3,12 +3,14 @@
/* The first piece of initialized data. */
int __data_start = 0;
+static void start1 (int argc, char **argv) __attribute__ ((used, noreturn));
/*
* It is important that this be the first function.
* This file is the first thing in the text section.
*/
void
-_start ()
+_start (void)
{
* On the stack we have argc. We can calculate argv/envp