mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-03 13:22:05 +03:00
Fix indentation and add copyright header to time.h
This commit is contained in:
parent
fec799f823
commit
4eacded20f
@ -1,5 +1,7 @@
|
|||||||
2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* include/sys/time.h: Fix indentation and add copyright header.
|
||||||
|
|
||||||
* string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
|
* string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
|
||||||
(do_test): Likewise.
|
(do_test): Likewise.
|
||||||
* string/test-memchr.c (do_one_test): Likewise.
|
* string/test-memchr.c (do_one_test): Likewise.
|
||||||
|
@ -1,8 +1,25 @@
|
|||||||
#ifndef _SYS_TIME_H
|
/* Time function internal interfaces.
|
||||||
#include <time/sys/time.h>
|
Copyright (C) 1997-2013 Free Software Foundation, Inc.
|
||||||
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
#ifndef _ISOMAC
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
/* Now document the internal interfaces. */
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with the GNU C Library; if not, see
|
||||||
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#ifndef _SYS_TIME_H
|
||||||
|
# include <time/sys/time.h>
|
||||||
|
|
||||||
|
# ifndef _ISOMAC
|
||||||
extern int __gettimeofday (struct timeval *__tv,
|
extern int __gettimeofday (struct timeval *__tv,
|
||||||
struct timezone *__tz);
|
struct timezone *__tz);
|
||||||
libc_hidden_proto (__gettimeofday)
|
libc_hidden_proto (__gettimeofday)
|
||||||
@ -22,5 +39,5 @@ extern int __utimes (const char *__file, const struct timeval __tvp[2])
|
|||||||
attribute_hidden;
|
attribute_hidden;
|
||||||
extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
|
extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
|
||||||
|
|
||||||
#endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user