From 0e9044cce9a67e9c197c680df44253edc5a0fab8 Mon Sep 17 00:00:00 2001 From: TheUltimateOptimist Date: Sun, 28 Jan 2024 01:18:22 +0100 Subject: [PATCH] refactoring: renamed getul to getlu --- 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 4b641fa..089a31f 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -199,7 +199,7 @@ unsigned int getu(char *message, unsigned int *min, unsigned int *max) { return getNumber(message, minld, maxld, NULL, NULL, 0, UINT_MAX); } -unsigned long getul(char *message, unsigned long *min, unsigned long *max) { +unsigned long getlu(char *message, unsigned long *min, unsigned long *max) { LD(min) LD(max) return getNumber(message, minld, maxld, NULL, NULL, 0, ULONG_MAX); diff --git a/src/userinput.h b/src/userinput.h index 9339d55..e8105d5 100644 --- a/src/userinput.h +++ b/src/userinput.h @@ -7,7 +7,7 @@ long getld(char *message, long *min, long *max); 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 getul(char *message, unsigned long *min, unsigned long *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); double getlf(char *message, double *min, double *max, double *greaterThan, double *smallerThan); #endif