#include <common.h>
-/* imports from common/main.c */
-extern char console_buffer[CFG_CBSIZE];
-
int
hymod_get_serno (const char *prompt)
{
if (n == 17) {
int i;
char *p, *q;
- uchar ea[6];
/* see if it looks like an ethernet address */
for (i = 0; i < 6; i++) {
char term = (i == 5 ? '\0' : ':');
- ea[i] = simple_strtol (p, &q, 16);
+ (void)simple_strtol (p, &q, 16);
if ((q - p) != 2 || *q++ != term)
break;