[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Signed-off-by: Zdenek Kabelac <zkabelac 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]