Return to rcsutil.c CVS log | Up to [local] / src / usr.bin / rcs |
version 1.31, 2007/07/19 06:37:58 | version 1.32, 2008/01/04 13:45:24 | ||
---|---|---|---|
|
|
||
} | } | ||
/* | /* | ||
* Allocate an RCSNUM and store in <rev>. | |||
*/ | |||
void | |||
rcs_set_rev(const char *str, RCSNUM **rev) | |||
{ | |||
if (str == NULL || (*rev = rcsnum_parse(str)) == NULL) | |||
errx(1, "bad revision number `%s'", str); | |||
} | |||
/* | |||
* Set <str> to <new_str>. Print warning if <str> is redefined. | * Set <str> to <new_str>. Print warning if <str> is redefined. | ||
*/ | */ | ||
void | void |