[lvm-devel] LVM2/lib/uuid uuid.c

zkabelac at sourceware.org zkabelac at sourceware.org
Thu Aug 7 13:59:50 UTC 2008


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac at sourceware.org	2008-08-07 13:59:50

Modified files:
	lib/uuid       : uuid.c 

Log message:
	added const and saved relocation entry

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/uuid/uuid.c.diff?cvsroot=lvm2&r1=1.24&r2=1.25

--- LVM2/lib/uuid/uuid.c	2008/01/30 14:00:01	1.24
+++ LVM2/lib/uuid/uuid.c	2008/08/07 13:59:49	1.25
@@ -20,7 +20,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 
-static char _c[] =
+static const char _c[] =
     "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#";
 
 static int _built_inverse;
@@ -110,7 +110,7 @@
  */
 static void _build_inverse(void)
 {
-	char *ptr;
+	const char *ptr;
 
 	if (_built_inverse)
 		return;




More information about the lvm-devel mailing list