fix buglets found by randomconfig

This commit is contained in:
Denis Vlasenko 2007-11-23 23:39:01 +00:00
parent 1da0ad13fb
commit d2023283ac
2 changed files with 3 additions and 2 deletions

View File

@ -39,9 +39,9 @@
*
* Original copyright notice is retained at the end of this file.
*/
static int decode(char *name, CODE * codetab)
static int decode(char *name, const CODE *codetab)
{
CODE *c;
const CODE *c;
if (isdigit(*name))
return atoi(name);

View File

@ -213,6 +213,7 @@ config HEXDUMP
config HD
bool "hd"
default n
select HEXDUMP
help
hd is an alias to hexdump -C.