From f3415cf5a954b2c95f6dbe0c4af815078ec7d8f9 Mon Sep 17 00:00:00 2001 From: Shivam Chaudhary Date: Wed, 1 Feb 2023 21:33:48 +0100 Subject: [PATCH] Update header files --- src/currentCustomerAccountBalance.c | 1 + src/currentCustomerAccountBalance.h | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/currentCustomerAccountBalance.c b/src/currentCustomerAccountBalance.c index a91e306..d306175 100644 --- a/src/currentCustomerAccountBalance.c +++ b/src/currentCustomerAccountBalance.c @@ -1,4 +1,5 @@ #include "currentCustomerAccountBalance.h" +#include "_file_information.h" float fetchBalanceFromBalanceString(char balance_String[MAX_LENGTH]) { float balance = 0; diff --git a/src/currentCustomerAccountBalance.h b/src/currentCustomerAccountBalance.h index 2795450..89167f5 100644 --- a/src/currentCustomerAccountBalance.h +++ b/src/currentCustomerAccountBalance.h @@ -3,7 +3,10 @@ #include #include -#include "_file_information.h" +//#include "_file_information.h" + +#define MAX_LENGTH 100 +#define CUSTOMER_DATA_FILE "CustomerData.txt" float getAvailableAccountBalance(int user_id); float fetchBalanceFromBalanceString(char balance_String[MAX_LENGTH]);