]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove MAP_VARIABLE from hppa bits/mman.h
authorJoseph Myers <joseph@codesourcery.com>
Mon, 5 Jun 2023 14:35:25 +0000 (14:35 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 5 Jun 2023 14:35:25 +0000 (14:35 +0000)
As suggested in
<https://sourceware.org/pipermail/libc-alpha/2023-February/145890.html>,
remove the MAP_VARIABLE define from the hppa bits/mman.h, for
consistency with Linux 6.2 which removed the define there.

Tested with build-many-glibcs.py for hppa-linux-gnu.

sysdeps/unix/sysv/linux/hppa/bits/mman.h

index f5a69693af40ebdae198f7a8f0599e96ff2b76fe..651b7dcb72b71ece8f1f95f2585c03e3167ffb15 100644 (file)
@@ -24,7 +24,6 @@
 
 /* Other flags.  */
 #define __MAP_ANONYMOUS        0x10            /* Don't use a file */
-#define MAP_VARIABLE   0
 
 /* These are Linux-specific.  */
 #define MAP_DENYWRITE  0x0800          /* ETXTBSY */