This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] C99 initializers for sysdeps/posix/sprofil.c
- From: Art Haas <ahaas at airmail dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Sun, 15 Dec 2002 19:35:21 -0600
- Subject: [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