Compare commits

..

1 Commits

Author SHA1 Message Date
80fdc07b68 acl_readTextFile uses FILE* now 2020-11-04 20:26:58 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@
#define _acl_file_h #define _acl_file_h
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>
char* acl_ReadTextFile(FILE *file, bool *sucess); char* acl_ReadTextFile(const FILE *file, bool *sucess);
#endif #endif

View File

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
char* acl_ReadTextFile(FILE *file, bool *sucess){ char* acl_ReadTextFile(const FILE *file, bool *sucess){
size_t lSize; size_t lSize;
char *buffer; char *buffer;
if(!file) { if(!file) {