This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Move header files


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f04e46b141cb598747ec69810365753abfbf93e7

commit f04e46b141cb598747ec69810365753abfbf93e7
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Mon Jul 27 11:31:26 2015 +0200

    Move header files
    
    During libgcc build the first include search path for <...> is
    "../newlib/libc/sys/rtems/include".  Move all RTEMS specific header
    files to "libc/sys/rtems/include" so that they can be found.  Later
    during libc build the header files in the previous location were somehow
    present, but for libgcc build they were invisible.  This change is
    necessary to use <pthread.h> for the GCC thread model implementation.
    
    newlib/ChangeLog
    2015-07-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
    
    	libc/sys/rtems/machine/_types.h: Move to ...
    	libc/sys/rtems/include/machine/_types.h: ... here.
    	libc/sys/rtems/machine/limits.h: Move to ...
    	libc/sys/rtems/include/machine/limits.h: ... here.
    	libc/sys/rtems/machine/param.h: Move to ...
    	libc/sys/rtems/include/machine/param.h: ... here.
    	libc/sys/rtems/sys/cpuset.h: Move to ...
    	libc/sys/rtems/include/sys/cpuset.h: ... here.
    	libc/sys/rtems/sys/dirent.h: Move to ...
    	libc/sys/rtems/include/sys/dirent.h: ... here.
    	libc/sys/rtems/sys/param.h: Move to ...
    	libc/sys/rtems/include/sys/param.h: ... here.
    	libc/sys/rtems/sys/syslimits.h: Move to ...
    	libc/sys/rtems/include/sys/syslimits.h: ... here.
    	libc/sys/rtems/sys/utime.h: Move to ...
    	libc/sys/rtems/include/sys/utime.h: ... here.

Diff:
---
 newlib/ChangeLog                                     | 19 +++++++++++++++++++
 newlib/libc/sys/rtems/{ => include}/machine/_types.h |  0
 newlib/libc/sys/rtems/{ => include}/machine/limits.h |  1 -
 newlib/libc/sys/rtems/{ => include}/machine/param.h  |  0
 newlib/libc/sys/rtems/{ => include}/sys/cpuset.h     |  0
 newlib/libc/sys/rtems/{ => include}/sys/dirent.h     |  2 +-
 newlib/libc/sys/rtems/{ => include}/sys/param.h      |  6 +++---
 newlib/libc/sys/rtems/{ => include}/sys/syslimits.h  |  0
 newlib/libc/sys/rtems/{ => include}/sys/utime.h      |  0
 9 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 697dc85..a9c5046 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,24 @@
 2015-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 
+	libc/sys/rtems/machine/_types.h: Move to ...
+	libc/sys/rtems/include/machine/_types.h: ... here.
+	libc/sys/rtems/machine/limits.h: Move to ...
+	libc/sys/rtems/include/machine/limits.h: ... here.
+	libc/sys/rtems/machine/param.h: Move to ...
+	libc/sys/rtems/include/machine/param.h: ... here.
+	libc/sys/rtems/sys/cpuset.h: Move to ...
+	libc/sys/rtems/include/sys/cpuset.h: ... here.
+	libc/sys/rtems/sys/dirent.h: Move to ...
+	libc/sys/rtems/include/sys/dirent.h: ... here.
+	libc/sys/rtems/sys/param.h: Move to ...
+	libc/sys/rtems/include/sys/param.h: ... here.
+	libc/sys/rtems/sys/syslimits.h: Move to ...
+	libc/sys/rtems/include/sys/syslimits.h: ... here.
+	libc/sys/rtems/sys/utime.h: Move to ...
+	libc/sys/rtems/include/sys/utime.h: ... here.
+
+2015-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
 	* libc/sys/rtems/include/sys/lock.h: New.
 
 2015-07-21  Corinna Vinschen  <corinna@vinschen.de>
diff --git a/newlib/libc/sys/rtems/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
similarity index 100%
rename from newlib/libc/sys/rtems/machine/_types.h
rename to newlib/libc/sys/rtems/include/machine/_types.h
diff --git a/newlib/libc/sys/rtems/machine/limits.h b/newlib/libc/sys/rtems/include/machine/limits.h
similarity index 97%
rename from newlib/libc/sys/rtems/machine/limits.h
rename to newlib/libc/sys/rtems/include/machine/limits.h
index 5a6ee03..2b4c47e 100644
--- a/newlib/libc/sys/rtems/machine/limits.h
+++ b/newlib/libc/sys/rtems/include/machine/limits.h
@@ -3,4 +3,3 @@
  */
 
 /* intentionally empty file */
-
diff --git a/newlib/libc/sys/rtems/machine/param.h b/newlib/libc/sys/rtems/include/machine/param.h
similarity index 100%
rename from newlib/libc/sys/rtems/machine/param.h
rename to newlib/libc/sys/rtems/include/machine/param.h
diff --git a/newlib/libc/sys/rtems/sys/cpuset.h b/newlib/libc/sys/rtems/include/sys/cpuset.h
similarity index 100%
rename from newlib/libc/sys/rtems/sys/cpuset.h
rename to newlib/libc/sys/rtems/include/sys/cpuset.h
diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/include/sys/dirent.h
similarity index 99%
rename from newlib/libc/sys/rtems/sys/dirent.h
rename to newlib/libc/sys/rtems/include/sys/dirent.h
index 8d2aa38..5a3a54d 100644
--- a/newlib/libc/sys/rtems/sys/dirent.h
+++ b/newlib/libc/sys/rtems/include/sys/dirent.h
@@ -58,7 +58,7 @@ int scandir ( const char *dirname,
 
 #ifdef __cplusplus
 }
-#endif 
+#endif
 
 
 #endif
diff --git a/newlib/libc/sys/rtems/sys/param.h b/newlib/libc/sys/rtems/include/sys/param.h
similarity index 98%
rename from newlib/libc/sys/rtems/sys/param.h
rename to newlib/libc/sys/rtems/include/sys/param.h
index 808745f..f1e598c 100644
--- a/newlib/libc/sys/rtems/sys/param.h
+++ b/newlib/libc/sys/rtems/include/sys/param.h
@@ -131,13 +131,13 @@
  *
  * BKVASIZE -	Nominal buffer space per buffer, in bytes.  BKVASIZE is the
  *		minimum KVM memory reservation the kernel is willing to make.
- *		Filesystems can of course request smaller chunks.  Actual 
+ *		Filesystems can of course request smaller chunks.  Actual
  *		backing memory uses a chunk size of a page (PAGE_SIZE).
  *
  *		If you make BKVASIZE too small you risk seriously fragmenting
  *		the buffer KVM map which may slow things down a bit.  If you
- *		make it too big the kernel will not be able to optimally use 
- *		the KVM memory reserved for the buffer cache and will wind 
+ *		make it too big the kernel will not be able to optimally use
+ *		the KVM memory reserved for the buffer cache and will wind
  *		up with too-few buffers.
  *
  *		The default is 16384, roughly 2x the block size used by a
diff --git a/newlib/libc/sys/rtems/sys/syslimits.h b/newlib/libc/sys/rtems/include/sys/syslimits.h
similarity index 100%
rename from newlib/libc/sys/rtems/sys/syslimits.h
rename to newlib/libc/sys/rtems/include/sys/syslimits.h
diff --git a/newlib/libc/sys/rtems/sys/utime.h b/newlib/libc/sys/rtems/include/sys/utime.h
similarity index 100%
rename from newlib/libc/sys/rtems/sys/utime.h
rename to newlib/libc/sys/rtems/include/sys/utime.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]