public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/uuid uuid.c
@ 2008-08-29  0:49 wysochanski
  0 siblings, 0 replies; 2+ messages in thread
From: wysochanski @ 2008-08-29  0:49 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2008-08-29 00:49:46

Modified files:
	lib/uuid       : uuid.c 

Log message:
	Add ctype.h header file to silence compile warning on 'isdigit'.
	
	uuid/uuid.c:86: warning: implicit declaration of function 'isdigit'

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

--- LVM2/lib/uuid/uuid.c	2008/08/28 18:41:51	1.26
+++ LVM2/lib/uuid/uuid.c	2008/08/29 00:49:46	1.27
@@ -19,6 +19,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <ctype.h>
 
 static const char _c[] =
     "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#";


^ permalink raw reply	[flat|nested] 2+ messages in thread

* LVM2/lib/uuid uuid.c
@ 2008-08-07 13:59 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2008-08-07 13:59 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-29  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-29  0:49 LVM2/lib/uuid uuid.c wysochanski
  -- strict thread matches above, loose matches on Subject: below --
2008-08-07 13:59 zkabelac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).