]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/digits.c
Comment cleanups.
[pdclib] / functions / _PDCLIB / digits.c
index 751ac0852edbf71ee64a3abeebdcafa18d979940..281e7f0a4a7c743e111cc1f24ce4fc264105c02e 100644 (file)
@@ -1,18 +1,16 @@
-/* $Id$ */
-
 /* _PDCLIB_digits
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#ifndef _PDCLIB_INT_H
-#define _PDCLIB_INT_H _PDCLIB_INT_H
 #include <_PDCLIB_int.h>
-#endif
 
 char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
 
+/* For _PDCLIB/print.c only; obsolete with ctype.h */
+char _PDCLIB_Xdigits[] = "0123456789ABCDEF";
+
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
@@ -21,6 +19,7 @@ char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
 int main( void )
 {
     TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 );
+    TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 );
     return TEST_RESULTS;
 }