diff options
Diffstat (limited to 'gl/read-file.c')
-rw-r--r-- | gl/read-file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gl/read-file.c b/gl/read-file.c index bcbfbbb460..0e6c3835fc 100644 --- a/gl/read-file.c +++ b/gl/read-file.c @@ -41,7 +41,7 @@ *LENGTH. On errors, *LENGTH is undefined, errno preserves the values set by system functions (if any), and NULL is returned. */ char * -fread_file (FILE *stream, size_t *length) +gl_fread_file (FILE *stream, size_t *length) { char *buf = NULL; size_t alloc = BUFSIZ; @@ -145,7 +145,7 @@ internal_read_file (const char *filename, size_t *length, const char *mode) if (!stream) return NULL; - out = fread_file (stream, length); + out = gl_fread_file (stream, length); save_errno = errno; @@ -170,7 +170,7 @@ internal_read_file (const char *filename, size_t *length, const char *mode) undefined, errno preserves the values set by system functions (if any), and NULL is returned. */ char * -read_file (const char *filename, size_t *length) +gl_read_file (const char *filename, size_t *length) { return internal_read_file (filename, length, "r"); } @@ -183,7 +183,7 @@ read_file (const char *filename, size_t *length) preserves the values set by system functions (if any), and NULL is returned. */ char * -read_binary_file (const char *filename, size_t *length) +gl_read_binary_file (const char *filename, size_t *length) { return internal_read_file (filename, length, "rb"); } |