mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 18:23:41 +08:00
Update.
* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead of <sys/time.h>.
This commit is contained in:
parent
4fef60b393
commit
eb6c047093
@ -1,5 +1,8 @@
|
|||||||
2001-01-27 Ulrich Drepper <drepper@redhat.com>
|
2001-01-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
|
||||||
|
of <sys/time.h>.
|
||||||
|
|
||||||
* sysdeps/unix/stime.c: Include <stddef.h> for NULL.
|
* sysdeps/unix/stime.c: Include <stddef.h> for NULL.
|
||||||
* sysdeps/unix/time.c: Likewise.
|
* sysdeps/unix/time.c: Likewise.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -17,7 +17,7 @@
|
|||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/time.h>
|
#include <time.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
|
clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user