Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison utils.c @ 166:4ea0ce804d22
Don't need digits[], take it back out.
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 01:31:49 -0400 |
parents | d6e6b3940780 |
children |
comparison
equal
deleted
inserted
replaced
165:cc6d6f27d6ee | 166:4ea0ce804d22 |
---|---|
42 "0123456789" | 42 "0123456789" |
43 "abcdefghijklmnopqrstuvwxyz" | 43 "abcdefghijklmnopqrstuvwxyz" |
44 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | 44 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
45 "_" | 45 "_" |
46 ; | 46 ; |
47 const char digits[] = | |
48 "0123456789" | |
49 ; | |
50 | 47 |
51 //////////////////////////////////////////////////////////// | 48 //////////////////////////////////////////////////////////// |
52 // malloc | 49 // malloc |
53 | 50 |
54 #define ROUNDUP(len, size) ((size) * (((len) + (size) - 1) / (size))) | 51 #define ROUNDUP(len, size) ((size) * (((len) + (size) - 1) / (size))) |