From e8895cee2ac13068e88b282482fe2be5c7c03d1e Mon Sep 17 00:00:00 2001 From: TheUltimateOptimist Date: Sun, 28 Jan 2024 01:19:04 +0100 Subject: [PATCH] refactoring: renamed getull to getllu --- src/userinput.c | 2 +- src/userinput.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/userinput.c b/src/userinput.c index 089a31f..a3729d3 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -205,7 +205,7 @@ unsigned long getlu(char *message, unsigned long *min, unsigned long *max) { return getNumber(message, minld, maxld, NULL, NULL, 0, ULONG_MAX); } -unsigned long long getull(char *message, unsigned long long *min, unsigned long long *max) { +unsigned long long getllu(char *message, unsigned long long *min, unsigned long long *max) { LD(min) LD(max) return getNumber(message, minld, maxld, NULL, NULL, 0, ULLONG_MAX); diff --git a/src/userinput.h b/src/userinput.h index e8105d5..9afa84a 100644 --- a/src/userinput.h +++ b/src/userinput.h @@ -8,6 +8,6 @@ long long getlld(char *message, long long *min, long long *max); unsigned short gethu(char *message, unsigned short *min, unsigned short *max); unsigned int getu(char *message, unsigned int *min, unsigned int *max); unsigned long getlu(char *message, unsigned long *min, unsigned long *max); -unsigned long long getull(char *message, unsigned long long *min, unsigned long long *max); +unsigned long long getllu(char *message, unsigned long long *min, unsigned long long *max); double getlf(char *message, double *min, double *max, double *greaterThan, double *smallerThan); #endif