summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-04-12 19:18:52 +0200
committerOskar <[email protected]>2024-04-12 19:18:52 +0200
commit8454a5c30c8f5f17abd377965b61dc0786a08800 (patch)
tree2a491f7a364c3de23135dd1322a5dae4ef69e993 /functions.c
parentd6ea48c5be4ec380d2ae18af19ce6107926f58ac (diff)
Changed types in various functions
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.c b/functions.c
index e7a8ad6..84cf0cb 100644
--- a/functions.c
+++ b/functions.c
@@ -108,7 +108,7 @@ void shuffle(char arr[], int n) {
}
}
-int get_line(char filename[], long focus, char **line, size_t *start) {
+int get_line(char *filename, long focus, char **line, size_t *start) {
FILE *file;
file = fopen(filename,"r"); // Open file