/* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or */
/* code or tables extracted from it, as desired without restriction. */
/* Modified by Fox: no more length parameter, always does the whole string */
-unsigned long crc32(const char *s) {
+unsigned long irc_crc32(const char *s) {
const char *cp;
unsigned long crc32val;
}
/* Case insensitive version of the above */
-unsigned long crc32i(const char *s) {
+unsigned long irc_crc32i(const char *s) {
const char *cp;
unsigned long crc32val;
pos += sprintf(outstring+pos,"%d minute%s ",minutes,minutes==1?"":"s");
}
if (seconds>0 || !interval) {
- pos += sprintf(outstring+pos,"%d second%s ",seconds,seconds==1?"":"s");
+ sprintf(outstring+pos,"%d second%s ",seconds,seconds==1?"":"s");
}
}
} else {
pos += sprintf(outstring+pos, "%dm ",minutes);
}
if (seconds>0 || !interval) {
- pos += sprintf(outstring+pos, "%ds ",seconds);
+ sprintf(outstring+pos, "%ds ",seconds);
}
}