]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Move mach/param.h to bits/mach/param.h
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 3 Mar 2018 23:42:20 +0000 (00:42 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 3 Mar 2018 23:42:20 +0000 (00:42 +0100)
* mach/Makefile (headers): Move mach/param.h to bits/mach/param.h.
* sysdeps/mach/i386/mach/param.h: Move file to ...
* sysdeps/mach/i386/bits/mach/param.h: ... here.  Update path in #error.
* sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
of <mach/param.h>.

ChangeLog
mach/Makefile
sysdeps/mach/hurd/bits/param.h
sysdeps/mach/i386/bits/mach/param.h [moved from sysdeps/mach/i386/mach/param.h with 92% similarity]

index 3d8aa9c17ea132ec2a4b3b98207173c590f62580..9bfa1bd316953230ef3ae77a87e2cfc0e4d90f3b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,11 @@
        * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
        * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
        <mach/mach_types.h> and <mach/message.h>.
+       (headers): Move mach/param.h to bits/mach/param.h.
+       * sysdeps/mach/i386/mach/param.h: Move file to ...
+       * sysdeps/mach/i386/bits/mach/param.h: ... here.  Update path in #error.
+       * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
+       of <mach/param.h>.
 
 2018-03-03  Andreas Schwab  <schwab@linux-m68k.org>
 
index d16c44f885962eee860398b2689c0c542a285654..e0d1ffb1fa78e8a854e56c083ce19d2413fddf78 100644 (file)
@@ -21,7 +21,7 @@ include ../Makeconfig
 
 headers = mach_init.h mach.h mach_error.h mach-shortcuts.h mach/mach_traps.h \
          $(interface-headers) mach/mach.h mach/mig_support.h mach/error.h \
-         $(lock-headers) machine-sp.h mach/param.h
+         $(lock-headers) machine-sp.h bits/mach/param.h
 lock = spin-solid spin-lock mutex-init mutex-solid
 lock-headers = lock-intern.h machine-lock.h spin-lock.h
 routines = $(mach-syscalls) $(mach-shortcuts) \
index 7d535712a42458009c220588996e93697f6e661a..5d4faf793f79753e3be932ffbeca71b96d3483f4 100644 (file)
@@ -20,7 +20,7 @@
 # error "Never use <bits/param.h> directly; include <sys/param.h> instead."
 #endif
 
-#include <mach/param.h>
+#include <bits/mach/param.h>
 
 /* This file is deprecated and is provided only for compatibility with
    Unix systems.  It is unwise to include this file on programs which
similarity index 92%
rename from sysdeps/mach/i386/mach/param.h
rename to sysdeps/mach/i386/bits/mach/param.h
index 20329ff8fcffc0a23526bdc401c13fa8f7102ed9..15e842f4d387b877c9f68488d2553b943335f537 100644 (file)
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_PARAM_H
-# error "Never use <mach/param.h> directly; include <sys/param.h> instead."
+# error "Never use <bits/mach/param.h> directly; include <sys/param.h> instead."
 #endif
 
 #ifndef EXEC_PAGESIZE