Browse Source

refactoring: renamed getull to getllu

remotes/origin/userinput
TheUltimateOptimist 11 months ago
parent
commit
e8895cee2a
  1. 2
      src/userinput.c
  2. 2
      src/userinput.h

2
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);

2
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
Loading…
Cancel
Save