PATCH: remove bogus __unbounded from prototype decl.
Greg McGary
greg@mcgary.org
Wed Apr 18 14:57:00 GMT 2001
Same deal for setrlimit. OK to commit?
2001-04-18 Greg McGary <greg@mcgary.org>
* sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
Remove __unbounded qualifier from prototype decl.
Index: sysdeps/unix/sysv/linux/i386/setrlimit.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/setrlimit.c,v
retrieving revision 1.6
diff -u -p -r1.6 setrlimit.c
--- setrlimit.c 2000/12/28 14:21:28 1.6
+++ setrlimit.c 2001/04/18 21:56:22
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@ extern int __syscall_setrlimit (unsigned
extern int __syscall_ugetrlimit (unsigned int resource,
const struct rlimit *__unbounded rlimits);
extern int __new_setrlimit (enum __rlimit_resource resource,
- const struct rlimit *__unboundedrlimits);
+ const struct rlimit *rlimits);
/* Linux 2.3.25 introduced a new system call since the types used for
the limits are now unsigned. */
More information about the Libc-hacker
mailing list