This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: remove bogus __unbounded from prototype decl.


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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]