From 72c298b52e392b14592719f45f057b7eff1e56c5 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Thu, 5 Mar 2015 17:34:54 +0100 Subject: util: use const whenever applicable --- src/include/taler_amount_lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/taler_amount_lib.h') 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); /** -- cgit v1.2.3