From 4a28dec8e2f42504f03fe63a7706d35cec59a017 Mon Sep 17 00:00:00 2001 From: Shivam Chaudhary Date: Thu, 9 Feb 2023 16:39:00 +0100 Subject: [PATCH] Remove headers which are redefining function --- src/currentCustomerAccountBalance.c | 1 - src/updateCustomerAccountBalance.c | 1 - tests/test_updateCustomerAccountBalance.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/currentCustomerAccountBalance.c b/src/currentCustomerAccountBalance.c index d306175..a91e306 100644 --- a/src/currentCustomerAccountBalance.c +++ b/src/currentCustomerAccountBalance.c @@ -1,5 +1,4 @@ #include "currentCustomerAccountBalance.h" -#include "_file_information.h" float fetchBalanceFromBalanceString(char balance_String[MAX_LENGTH]) { float balance = 0; diff --git a/src/updateCustomerAccountBalance.c b/src/updateCustomerAccountBalance.c index c141f7e..32c4673 100644 --- a/src/updateCustomerAccountBalance.c +++ b/src/updateCustomerAccountBalance.c @@ -1,5 +1,4 @@ #include "updateCustomerAccountBalance.h" -#include "currentCustomerAccountBalance.c" #include "lineReplacer.h" #include "_file_information.h" diff --git a/tests/test_updateCustomerAccountBalance.c b/tests/test_updateCustomerAccountBalance.c index 44325d0..91bdd62 100644 --- a/tests/test_updateCustomerAccountBalance.c +++ b/tests/test_updateCustomerAccountBalance.c @@ -1,4 +1,4 @@ -#ifndef TEST +#ifdef TEST #include "unity.h"