File pkey-get-reserved-name.patch of Package glibc

2018-02-07  Igor Gnatenko  <ignatenko@redhat.com>

	[BZ #22797]
	* sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
	missing second underscore to parameter name.

Index: glibc-2.27/sysdeps/unix/sysv/linux/bits/mman-shared.h
===================================================================
--- glibc-2.27.orig/sysdeps/unix/sysv/linux/bits/mman-shared.h
+++ glibc-2.27/sysdeps/unix/sysv/linux/bits/mman-shared.h
@@ -61,7 +61,7 @@ int pkey_set (int __key, unsigned int __
 
 /* Return the access rights for the current thread for KEY, which must
    have been allocated using pkey_alloc.  */
-int pkey_get (int _key) __THROW;
+int pkey_get (int __key) __THROW;
 
 /* Free an allocated protection key, which must have been allocated
    using pkey_alloc.  */
openSUSE Build Service is sponsored by