Fix typos in getrlimit64.c and setrlimit64.c

Changelog:
	* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
	comment.
	* sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
	comment.
	(settrlimit): Rename into setrlimit.
	(__sttrlimit): Rename into __setrlimit.
This commit is contained in:
Aurelien Jarno 2018-01-02 21:05:29 +01:00
parent 28fd6a44cb
commit d35989be87
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
comment.
* sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
comment.
(settrlimit): Rename into setrlimit.
(__sttrlimit): Rename into __setrlimit.
2018-01-02 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/nofpu/libm-test-ulps: Update.

View File

@ -21,7 +21,7 @@
#include <shlib-compat.h>
/* Add this redirection so the strong_alias for __RLIM_T_MATCHES_RLIM64_T
linking getlimit64 to {__}getrlimit does not throw a type error. */
linking getrlimit64 to {__}getrlimit does not throw a type error. */
#undef getrlimit
#undef __getrlimit
#define getrlimit getrlimit_redirect

View File

@ -21,9 +21,9 @@
#include <shlib-compat.h>
/* Add this redirection so the strong_alias for __RLIM_T_MATCHES_RLIM64_T
linking setlimit64 to {__}setrlimit does not throw a type error. */
#undef settrlimit
#undef __sttrlimit
linking setrlimit64 to {__}setrlimit does not throw a type error. */
#undef setrlimit
#undef __setrlimit
#define setrlimit setrlimit_redirect
#define __setrlimit __setrlimit_redirect
#include <sys/resource.h>