diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2008-08-07 13:59:49 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2008-08-07 13:59:49 +0000 |
commit | 1e35409b82066130df5bfa642cbe76a8266f4c95 (patch) | |
tree | 0d384bbed3b09974f1d484b8bb3db23bddaac9c7 /lib/uuid | |
parent | b145d876a40ebf4de7d105dbb26f8101280d9766 (diff) | |
download | lvm2-1e35409b82066130df5bfa642cbe76a8266f4c95.tar.gz |
added const and saved relocation entry
Diffstat (limited to 'lib/uuid')
-rw-r--r-- | lib/uuid/uuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uuid/uuid.c b/lib/uuid/uuid.c index f231dd1ed..03fe5c556 100644 --- a/lib/uuid/uuid.c +++ b/lib/uuid/uuid.c @@ -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; |