version 1.16, 2005/09/19 15:45:16 |
version 1.17, 2005/10/10 13:06:24 |
|
|
} |
} |
|
|
/* |
/* |
|
* rcsnum_dec() |
|
* |
|
* Decreases the revision number specified in <num> |
|
* Returns pointer to the <num> on success, or NULL on failure. |
|
*/ |
|
RCSNUM * |
|
rcsnum_dec(RCSNUM *num) |
|
{ |
|
if (num->rn_id[num->rn_len - 1] <= 0) |
|
return (NULL); |
|
num->rn_id[num->rn_len - 1]--; |
|
return (num); |
|
} |
|
|
|
/* |
* rcsnum_revtobr() |
* rcsnum_revtobr() |
* |
* |
* Retrieve the branch number associated with the revision number <num>. |
* Retrieve the branch number associated with the revision number <num>. |