mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove pre-ISO C support
No more __const.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2010 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2010, 2012 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
|
||||
@ -24,7 +24,7 @@
|
||||
#ifdef __NR_prlimit64
|
||||
int
|
||||
prlimit (__pid_t pid, enum __rlimit_resource resource,
|
||||
__const struct rlimit *new_rlimit, struct rlimit *old_rlimit)
|
||||
const struct rlimit *new_rlimit, struct rlimit *old_rlimit)
|
||||
{
|
||||
struct rlimit64 new_rlimit64_mem;
|
||||
struct rlimit64 *new_rlimit64 = NULL;
|
||||
@ -83,7 +83,7 @@ prlimit (__pid_t pid, enum __rlimit_resource resource,
|
||||
#else
|
||||
int
|
||||
prlimit (__pid_t pid, enum __rlimit_resource resource,
|
||||
__const struct rlimit *new_rlimit, struct rlimit *old_rlimit)
|
||||
const struct rlimit *new_rlimit, struct rlimit *old_rlimit)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user