branches/zip: trx_weight_cmp(): Add const qualifiers.

This commit is contained in:
marko 2007-08-01 08:01:47 +00:00
parent fbdd5b437c
commit 681d9e9f00
2 changed files with 6 additions and 6 deletions

View file

@ -379,9 +379,9 @@ considered heavier than ones that have not. */
int
trx_weight_cmp(
/*===========*/
/* out: <0, 0 or >0; similar to strcmp(3) */
trx_t* a, /* in: the first transaction to be compared */
trx_t* b); /* in: the second transaction to be compared */
/* out: <0, 0 or >0; similar to strcmp(3) */
const trx_t* a, /* in: the first transaction to be compared */
const trx_t* b); /* in: the second transaction to be compared */
/* Signal to a transaction */
struct trx_sig_struct{

View file

@ -1751,9 +1751,9 @@ considered heavier than ones that have not. */
int
trx_weight_cmp(
/*===========*/
/* out: <0, 0 or >0; similar to strcmp(3) */
trx_t* a, /* in: the first transaction to be compared */
trx_t* b) /* in: the second transaction to be compared */
/* out: <0, 0 or >0; similar to strcmp(3) */
const trx_t* a, /* in: the first transaction to be compared */
const trx_t* b) /* in: the second transaction to be compared */
{
ibool a_notrans_edit;
ibool b_notrans_edit;