Skip to contentSkip to conversation

LVM2/lib/uuid uuid.c

PATCH [email protected] 1 participant 1 message Aug 29, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at 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

lib/uuid/uuid.c +1 -0
@@ -19,6 +19,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <ctype.h>
 
 static const char _c[] =
     "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#";