Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-05-08 00:29:24 +0400
committerJeff Johnston <jjohnstn@redhat.com>2004-05-08 00:29:24 +0400
commitf1559722eb7a502128a07435149988f49b627bc5 (patch)
tree4d1f75074aad4e392884a9a31c500a3c558a94a6 /newlib/libc/sys
parent367ff06ea458a58c16accb4172629366eb04ac30 (diff)
2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/param.h: Remove endian info and include <machine/endian.h> instead. * libc/include/machine/endian.h: New file. * libc/machine/arm/machine/endian.h: Ditto. * libc/machine/arm/machine/param.h: Ditto. * libc/sys/arm/sys/param.h: Removed. * libc/sys/sysvi386/sys/param.h: Ditto. * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/arm/sys/param.h19
-rw-r--r--newlib/libc/sys/rtems/sys/param.h16
-rw-r--r--newlib/libc/sys/sysvi386/sys/param.h8
3 files changed, 1 insertions, 42 deletions
diff --git a/newlib/libc/sys/arm/sys/param.h b/newlib/libc/sys/arm/sys/param.h
deleted file mode 100644
index adc066e9a..000000000
--- a/newlib/libc/sys/arm/sys/param.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ARM configuration file; HZ is 100 rather than the default 60 */
-
-#ifndef _SYS_PARAM_H
-# define _SYS_PARAM_H
-
-# define HZ (100)
-# define NOFILE (60)
-# define PATHSIZE (1024)
-
-#define BIG_ENDIAN 4321
-#define LITTLE_ENDIAN 1234
-
-#ifdef __ARMEB__
-#define BYTE_ORDER BIG_ENDIAN
-#else
-#define BYTE_ORDER LITTLE_ENDIAN
-#endif
-
-#endif
diff --git a/newlib/libc/sys/rtems/sys/param.h b/newlib/libc/sys/rtems/sys/param.h
index 36db646b0..0060720f8 100644
--- a/newlib/libc/sys/rtems/sys/param.h
+++ b/newlib/libc/sys/rtems/sys/param.h
@@ -45,25 +45,11 @@
/* from newlib's <sys/param.h> */
#include <sys/config.h>
-
-#ifndef BIG_ENDIAN
-#define BIG_ENDIAN 4321
-#endif
-#ifndef LITTLE_ENDIAN
-#define LITTLE_ENDIAN 1234
-#endif
+#include <machine/endian.h>
# define HZ (60)
# define PATHSIZE (1024)
-#ifndef BYTE_ORDER
-#ifdef __IEEE_LITTLE_ENDIAN
-#define BYTE_ORDER LITTLE_ENDIAN
-#else
-#define BYTE_ORDER BIG_ENDIAN
-#endif
-#endif
-
/* end of from newlib's <sys/param.h> */
#include <unistd.h>
diff --git a/newlib/libc/sys/sysvi386/sys/param.h b/newlib/libc/sys/sysvi386/sys/param.h
deleted file mode 100644
index 6c6f6b0a4..000000000
--- a/newlib/libc/sys/sysvi386/sys/param.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef _SYS_PARAM_H
-# define _SYS_PARAM_H
-
-# define HZ 60
-# define NOFILE 60
-# define PATHSIZE 1024
-
-#endif