summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-21 00:05:00 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-21 00:05:00 +0000
commit6750d9b09077b172f52ed5b6d11cbb1a2a24968e (patch)
tree3c3dd86386e97896c40d01092cc8cc467afe75b7 /time
parent716a8a8a1a93f7f2402be45902d20ecf9571c461 (diff)
Make second argument of setitimer const.
Diffstat (limited to 'time')
-rw-r--r--time/sys/time.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/time/sys/time.h b/time/sys/time.h
index 5519f716ca..0204050d22 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -81,11 +81,14 @@ enum __itimer_which
{
/* Timers run in real time. */
ITIMER_REAL = 0,
+#define ITIMER_REAL ITIMER_REAL
/* Timers run only when the process is executing. */
ITIMER_VIRTUAL = 1,
+#define ITIMER_VIRTUAL ITIMER_VIRTUAL
/* Timers run when the process is executing and when
the system is executing on behalf of the process. */
ITIMER_PROF = 2
+#define ITIMER_PROF ITIMER_PROF
};
/* Type of the second argument to `getitimer' and
@@ -109,10 +112,10 @@ extern int getitimer __P ((enum __itimer_which __which,
set *OLD to the old value of timer WHICH.
Returns 0 on success, -1 on errors. */
extern int __setitimer __P ((enum __itimer_which __which,
- struct itimerval *__new,
+ __const struct itimerval *__new,
struct itimerval *__old));
extern int setitimer __P ((enum __itimer_which __which,
- struct itimerval *__new,
+ __const struct itimerval *__new,
struct itimerval *__old));
/* Change the access time of FILE to TVP[0] and