diff -Naur mcdp-0.3j/cddev.c mcdp-0.3j-fix/cddev.c --- mcdp-0.3j/cddev.c 2002-07-04 02:38:49.000000000 -0400 +++ mcdp-0.3j-fix/cddev.c 2006-09-01 14:18:05.000000000 -0400 @@ -14,7 +14,7 @@ /* GLOBAL */ /* look at the specs, should do, what they want :) */ unsigned cd_discid(struct mcdp *cd) { - static unsigned cd_cddbsum(register int n) { + unsigned cd_cddbsum(register int n) { register unsigned int ret=0; while (n>0) { ret += (n%10); n /= 10;