X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fdigits.c;h=d921c2dd704d3e4ef763a9fdb9c64b97f1808764;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=751ac0852edbf71ee64a3abeebdcafa18d979940;hpb=0d49a12a052e662c85cddf16bab19b9e1bd92a49;p=pdclib diff --git a/functions/_PDCLIB/digits.c b/functions/_PDCLIB/digits.c index 751ac08..d921c2d 100644 --- a/functions/_PDCLIB/digits.c +++ b/functions/_PDCLIB/digits.c @@ -1,26 +1,26 @@ -/* $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 +#include "_PDCLIB_int.h" char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; +/* For _PDCLIB/print.c only; obsolete with ctype.h */ +char _PDCLIB_Xdigits[] = "0123456789ABCDEF"; + #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" #include int main( void ) { TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 ); + TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 ); return TEST_RESULTS; }