mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 02:33:36 +08:00
HPPA: Use const instead of __const
Adjust sys/epoll.h and sys/timerfd.h to use const instead of __const.
This commit is contained in:
parent
ae9df5c8a0
commit
2f4e78942c
@ -1,3 +1,8 @@
|
||||
2012-01-08 Carlos O'Donell <carlos@systemhalted.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const.
|
||||
* sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise.
|
||||
|
||||
2011-10-21 Carlos O'Donell <carlos@systemhalted.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2002-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002-2009, 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
|
||||
@ -137,7 +137,7 @@ extern int epoll_wait (int __epfd, struct epoll_event *__events,
|
||||
__THROW. */
|
||||
extern int epoll_pwait (int __epfd, struct epoll_event *__events,
|
||||
int __maxevents, int __timeout,
|
||||
__const __sigset_t *__ss);
|
||||
const __sigset_t *__ss);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2008 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2008, 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
|
||||
@ -49,7 +49,7 @@ extern int timerfd_create (clockid_t __clock_id, int __flags) __THROW;
|
||||
FLAGS has the TFD_TIMER_ABSTIME flag set the timeout value is
|
||||
absolute. Optionally return the old expiration time in OTMR. */
|
||||
extern int timerfd_settime (int __ufd, int __flags,
|
||||
__const struct itimerspec *__utmr,
|
||||
const struct itimerspec *__utmr,
|
||||
struct itimerspec *__otmr) __THROW;
|
||||
|
||||
/* Return the next expiration time of UFD. */
|
||||
|
Loading…
Reference in New Issue
Block a user