diff options
Diffstat (limited to 'sysdeps/stub/getrlimit.c')
-rw-r--r-- | sysdeps/stub/getrlimit.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/stub/getrlimit.c b/sysdeps/stub/getrlimit.c index 8553c5f262..a3f31448bc 100644 --- a/sysdeps/stub/getrlimit.c +++ b/sysdeps/stub/getrlimit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996 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 @@ -16,19 +16,17 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <ansidecl.h> #include <sys/resource.h> #include <errno.h> /* Put the soft and hard limits for RESOURCE in *RLIMITS. Returns 0 if successful, -1 if not (and sets errno). */ int -DEFUN(getrlimit, (resource, rlimits), - enum __rlimit_resource resource AND struct rlimit *rlimits) +__getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits) { errno = ENOSYS; return -1; } - +weak_alias (__getrlimit, getrlimit) stub_warning (getrlimit) |