Commit 26d6ea56 authored by marko's avatar marko

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

parent e507ea0d
......@@ -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{
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment