[lvm-devel] [PATCH 11/16] const - static merge to const patch

Zdenek Kabelac zkabelac at redhat.com
Fri Feb 11 10:30:57 UTC 2011


Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>
---
 lib/uuid/uuid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/uuid/uuid.c b/lib/uuid/uuid.c
index edcb1ba..c85b822 100644
--- a/lib/uuid/uuid.c
+++ b/lib/uuid/uuid.c
@@ -158,7 +158,7 @@ int id_write_format(const struct id *id, char *buffer, size_t size)
 {
 	int i, tot;
 
-	static unsigned group_size[] = { 6, 4, 4, 4, 4, 4, 6 };
+	static const unsigned group_size[] = { 6, 4, 4, 4, 4, 4, 6 };
 
 	assert(ID_LEN == 32);
 
-- 
1.7.4




More information about the lvm-devel mailing list