From a3a4a74e6ad85a4c710a335b0ab6eaab3e355a19 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 13 Jun 1998 00:49:55 +0000 Subject: Update. 1998-06-12 23:34 Ulrich Drepper * manual/arith.texi: Fix problem with @math and texinfo.tex. * manual/filesys.texi: Document LFS functions. * manual/llio.texi: Likewise. * manual/stdio.texi: Likewise. * manual/time.texi: Likewise. * manual/llio.texi: Document AIO functions. * resource/sys/resource.h: Mark second argument of setrlimit as const. * sysdeps/generic/setrlimit.c: Likewise. * sysdeps/generic/setrlimit64.c: Likewise. * sysdeps/mach/hurd/setrlimit.c: Likewise. * sysdeps/unix/sysv/setrlimit.c: Likewise. --- resource/sys/resource.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resource') diff --git a/resource/sys/resource.h b/resource/sys/resource.h index 62fb1da9bf..e51a34eb6d 100644 --- a/resource/sys/resource.h +++ b/resource/sys/resource.h @@ -52,11 +52,11 @@ extern int getrlimit64 __P ((enum __rlimit_resource __resource, Return 0 if successful, -1 if not (and sets errno). */ #ifndef __USE_FILE_OFFSET64 extern int setrlimit __P ((enum __rlimit_resource __resource, - struct rlimit *__rlimits)); + __const struct rlimit *__rlimits)); #else # ifdef __REDIRECT extern int __REDIRECT (setrlimit, __P ((enum __rlimit_resource __resource, - struct rlimit *__rlimits)), + __const struct rlimit *__rlimits)), setrlimit64); # else # define setrlimit setrlimit64 @@ -64,7 +64,7 @@ extern int __REDIRECT (setrlimit, __P ((enum __rlimit_resource __resource, #endif #ifdef __USE_LARGEFILE64 extern int setrlimit64 __P ((enum __rlimit_resource __resource, - struct rlimit64 *__rlimits)); + __const struct rlimit64 *__rlimits)); #endif /* Return resource usage information on process indicated by WHO -- cgit v1.2.3