This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-786-g4eacded


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  4eacded20f543e617ffba0bc9e0fa80bc405dc9c (commit)
      from  fec799f823100646f535c5e24128c648cba4c2c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4eacded20f543e617ffba0bc9e0fa80bc405dc9c

commit 4eacded20f543e617ffba0bc9e0fa80bc405dc9c
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Tue Jun 11 18:42:42 2013 +0530

    Fix indentation and add copyright header to time.h

diff --git a/ChangeLog b/ChangeLog
index 5ef08f2..05f1ff1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 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.
 	(do_test): Likewise.
 	* string/test-memchr.c (do_one_test): Likewise.
diff --git a/include/sys/time.h b/include/sys/time.h
index 599e189..b9af6d4 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -1,8 +1,25 @@
+/* Time function internal interfaces.
+   Copyright (C) 1997-2013 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
+   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>
+# include <time/sys/time.h>
 
-#ifndef _ISOMAC
-/* Now document the internal interfaces.  */
+# ifndef _ISOMAC
 extern int __gettimeofday (struct timeval *__tv,
 			   struct timezone *__tz);
 libc_hidden_proto (__gettimeofday)
@@ -22,5 +39,5 @@ extern int __utimes (const char *__file, const struct timeval __tvp[2])
 	attribute_hidden;
 extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
 
-#endif
+# endif
 #endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    2 ++
 include/sys/time.h |   25 +++++++++++++++++++++----
 2 files changed, 23 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]