summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2021-01-02 18:33:35 +0000
committerrafa_99 <rafa99@protonmail.com>2021-01-02 18:33:35 +0000
commit009c0b27733fa67db018d3ea65df3ace229562fa (patch)
treef3a671963969021cbb4cb54e5c65a2196163cba3 /utils.h
parent5eba64da58978824f99259ea221a13b21f335a21 (diff)
Updated Clang Format Style
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils.h b/utils.h
index 0903c86..5ccabe3 100644
--- a/utils.h
+++ b/utils.h
@@ -3,17 +3,17 @@
#define MAX_LINE 256
/* Checks if a file exists */
-int checkIfFileExists(char *path);
+int checkIfFileExists (char *path);
/* Turns a string into a number by
* using the sum of its ascii values.
*/
-int numerize(char *string);
+int numerize (char *string);
/* Counts the lines from a dictionary file */
-int lineCounter(FILE *dictionary);
+int lineCounter (FILE *dictionary);
/* Returns a specified line from a dictionary file */
-char* getLine(FILE *dictionary, int line);
+char *getLine (FILE *dictionary, int line);
/* Returns a random number within the inclusive number range
* and based on the inputted question.
* Uses a fast seeded number generator.
*/
-int getRandomNumber(int min, int max, char *question);
+int getRandomNumber (int min, int max, char *question);