This is the mail archive of the libc-alpha@sources.redhat.com 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]

[PATCH] C99 initializers for sysdeps/posix/sprofil.c


Hi.

Another C99 conversion patch.

2002-12-15  Art Haas  <ahaas@airmail.net>

	* sysdeps/posix/sprofil.c: Convert to C99 initializers.

Index: sysdeps/posix/sprofil.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/posix/sprofil.c,v
retrieving revision 1.4
diff -u -r1.4 sprofil.c
--- sysdeps/posix/sprofil.c	24 Sep 2002 04:21:08 -0000	1.4
+++ sysdeps/posix/sprofil.c	16 Dec 2002 01:34:13 -0000
@@ -61,12 +61,12 @@
 
 static struct region default_overflow_region =
   {
-    offset:	0,
-    nsamples:	1,
-    scale:	2,
-    sample:	{ &overflow_counter },
-    start:	0,
-    end:	~(size_t) 0
+    .offset	= 0,
+    .nsamples	= 1,
+    .scale	= 2,
+    .sample	= { &overflow_counter },
+    .start	= 0,
+    .end	= ~(size_t) 0
   };
 
 static struct prof_info prof_info;
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759


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