Mercurial > hg > octave-kai > gnulib-hg
changeset 14041:1bc2888f2fcb
read-file.c: tweak syntax
* lib/read-file.c (fread_file): Remove space after "*" in function
definitions.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 27 Dec 2010 11:05:00 +0100 |
parents | 6beda9a0e57a |
children | 1a75c9206d28 |
files | ChangeLog lib/read-file.c |
diffstat | 2 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-27 Jim Meyering <meyering@redhat.com> + + read-file.c: tweak syntax + * lib/read-file.c (fread_file): Remove space after "*" in function + definitions. + 2010-12-27 Bruno Haible <bruno@clisp.org> times test: Avoid gcc warnings on OSF/1.
--- a/lib/read-file.c +++ b/lib/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) +fread_file (FILE *stream, size_t *length) { char *buf = NULL; size_t alloc = BUFSIZ; @@ -136,7 +136,7 @@ } static char * -internal_read_file (const char *filename, size_t * length, const char *mode) +internal_read_file (const char *filename, size_t *length, const char *mode) { FILE *stream = fopen (filename, mode); char *out; @@ -170,7 +170,7 @@ undefined, errno preserves the values set by system functions (if any), and NULL is returned. */ char * -read_file (const char *filename, size_t * length) +read_file (const char *filename, size_t *length) { return internal_read_file (filename, length, "r"); } @@ -183,7 +183,7 @@ preserves the values set by system functions (if any), and NULL is returned. */ char * -read_binary_file (const char *filename, size_t * length) +read_binary_file (const char *filename, size_t *length) { return internal_read_file (filename, length, "rb"); }