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-639-g5c637fe


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  5c637fe5eee1d4fe42d9ef094b0b021fb56d3bab (commit)
      from  ab2b94613d85ba9edc659bd5e930b9ab1ec8e8a9 (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=5c637fe5eee1d4fe42d9ef094b0b021fb56d3bab

commit 5c637fe5eee1d4fe42d9ef094b0b021fb56d3bab
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Fri May 10 17:44:27 2013 +0530

    Fix coding style

diff --git a/ChangeLog b/ChangeLog
index fb18690..e2945b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* benchtests/bench-skeleton.c (startup): Fix coding style.
+
 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #6809]
diff --git a/benchtests/bench-skeleton.c b/benchtests/bench-skeleton.c
index a13ad02..404900b 100644
--- a/benchtests/bench-skeleton.c
+++ b/benchtests/bench-skeleton.c
@@ -23,7 +23,9 @@
 #include <inttypes.h>
 
 volatile unsigned int dontoptimize = 0;
-void startup ()
+
+void
+startup (void)
 {
   /* This loop should cause CPU to switch to maximal freqency.
      This makes subsequent measurement more accurate.  We need a side effect
@@ -31,9 +33,7 @@ void startup ()
      This should be enough to cause CPU to speed up and it is simpler than
      running loop for constant time. This is used when user does not have root
      access to set a constant freqency.  */
-
-  int k;
-  for (k = 0; k < 10000000; k++)
+  for (int k = 0; k < 10000000; k++)
     dontoptimize += 23 * dontoptimize + 2;
 }
 

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

Summary of changes:
 ChangeLog                   |    4 ++++
 benchtests/bench-skeleton.c |    8 ++++----
 2 files changed, 8 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]