Lines Matching refs:version
460 static int strip_rcs_crap(char *version) in strip_rcs_crap() argument
464 if (strncmp(version, "$Revision", strlen("$Revision")) != 0) in strip_rcs_crap()
468 full_len = strlen(version) + strlen(version + strlen(version) + 1) + 2; in strip_rcs_crap()
473 if (version[len] == ':' || version[len] == '$') in strip_rcs_crap()
475 while (isspace(version[len])) in strip_rcs_crap()
477 memmove(version, version+len, full_len-len); in strip_rcs_crap()
482 while (version[len] && !isspace(version[len])) in strip_rcs_crap()
484 memmove(version + len, version + strlen(version), in strip_rcs_crap()
485 full_len - strlen(version)); in strip_rcs_crap()
491 char *version, in maybe_frob_rcs_version() argument
495 if (strip_rcs_crap(version)) in maybe_frob_rcs_version()
496 write_version(modfilename, version, version_offset); in maybe_frob_rcs_version()