diff options
author | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-03-05 17:34:54 +0100 |
---|---|---|
committer | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-03-05 17:34:54 +0100 |
commit | c2ee5efa50c43ea46c8f83070d580369aa1dadbd (patch) | |
tree | a246391a31b2da2b659ed157af1f308c7bb8f6d4 /src/include/taler_amount_lib.h | |
parent | a3e7b3af82fc3b805b6e01114dbaa2fd0d299a25 (diff) | |
download | exchange-c2ee5efa50c43ea46c8f83070d580369aa1dadbd.tar.gz exchange-c2ee5efa50c43ea46c8f83070d580369aa1dadbd.tar.bz2 exchange-c2ee5efa50c43ea46c8f83070d580369aa1dadbd.zip |
util: use const whenever applicable
Diffstat (limited to 'src/include/taler_amount_lib.h')
-rw-r--r-- | src/include/taler_amount_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index 72f5d4ffd..1f31e1498 100644 --- a/src/include/taler_amount_lib.h +++ b/src/include/taler_amount_lib.h @@ -99,7 +99,7 @@ TALER_string_to_amount (const char *str, * @return amount in network representation */ struct TALER_AmountNBO -TALER_amount_hton (struct TALER_Amount d); +TALER_amount_hton (const struct TALER_Amount d); /** @@ -109,7 +109,7 @@ TALER_amount_hton (struct TALER_Amount d); * @return amount in host representation */ struct TALER_Amount -TALER_amount_ntoh (struct TALER_AmountNBO dn); +TALER_amount_ntoh (const struct TALER_AmountNBO dn); /** |