1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

added const and saved relocation entry

This commit is contained in:
Zdenek Kabelac 2008-08-07 13:59:49 +00:00
parent b145d876a4
commit 1e35409b82

View File

@ -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 @@ int id_create(struct id *id)
*/
static void _build_inverse(void)
{
char *ptr;
const char *ptr;
if (_built_inverse)
return;