diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2017-04-11 14:51:25 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2017-04-11 14:51:25 +0000 |
commit | f29876bba06c24d6fe543941ad6f683c61910555 (patch) | |
tree | b52db026d1acf63cb18d292be3b1d27c43f2d29b /libgfortran/io/unix.h | |
parent | 276ebde7b1bfd430f747e21a2c8345e35fc4e622 (diff) | |
download | gcc-f29876bba06c24d6fe543941ad6f683c61910555.zip gcc-f29876bba06c24d6fe543941ad6f683c61910555.tar.gz gcc-f29876bba06c24d6fe543941ad6f683c61910555.tar.bz2 |
close.c: Fix white space in pointer declarations and comment formats where applicable.
2017-04-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* close.c: Fix white space in pointer declarations and comment
formats where applicable.
* fbuf.c: Likewise.
* fbuf.h: Likewise.
* format.c: Likewise.
* inquire.c: Likewise.
* intrinsics.c: Likewise.
* list_read.c: Likewise.
* lock.c: Likewise.
* open.c: Likewise.
* read.c: Likewise.
* transfer.c: Likewise.
* unit.c: Likewise.
* unix.c: Likewise.
* unix.h: Likewise.
* write.c: Likewise.
From-SVN: r246842
Diffstat (limited to 'libgfortran/io/unix.h')
-rw-r--r-- | libgfortran/io/unix.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libgfortran/io/unix.h b/libgfortran/io/unix.h index 6f97d3b..4ac92ee 100644 --- a/libgfortran/io/unix.h +++ b/libgfortran/io/unix.h @@ -48,55 +48,55 @@ struct stream /* Inline functions for doing file I/O given a stream. */ static inline ssize_t -sread (stream * s, void * buf, ssize_t nbyte) +sread (stream *s, void *buf, ssize_t nbyte) { return s->vptr->read (s, buf, nbyte); } static inline ssize_t -swrite (stream * s, const void * buf, ssize_t nbyte) +swrite (stream *s, const void *buf, ssize_t nbyte) { return s->vptr->write (s, buf, nbyte); } static inline gfc_offset -sseek (stream * s, gfc_offset offset, int whence) +sseek (stream *s, gfc_offset offset, int whence) { return s->vptr->seek (s, offset, whence); } static inline gfc_offset -stell (stream * s) +stell (stream *s) { return s->vptr->tell (s); } static inline gfc_offset -ssize (stream * s) +ssize (stream *s) { return s->vptr->size (s); } static inline int -struncate (stream * s, gfc_offset length) +struncate (stream *s, gfc_offset length) { return s->vptr->trunc (s, length); } static inline int -sflush (stream * s) +sflush (stream *s) { return s->vptr->flush (s); } static inline int -sclose (stream * s) +sclose (stream *s) { return s->vptr->close (s); } static inline int -smarkeor (stream * s) +smarkeor (stream *s) { return s->vptr->markeor (s); } @@ -114,16 +114,16 @@ internal_proto(open_internal); extern stream *open_internal4 (char *, int, gfc_offset); internal_proto(open_internal4); -extern char * mem_alloc_w (stream *, int *); +extern char *mem_alloc_w (stream *, int *); internal_proto(mem_alloc_w); -extern char * mem_alloc_r (stream *, int *); +extern char *mem_alloc_r (stream *, int *); internal_proto(mem_alloc_r); -extern gfc_char4_t * mem_alloc_w4 (stream *, int *); +extern gfc_char4_t *mem_alloc_w4 (stream *, int *); internal_proto(mem_alloc_w4); -extern char * mem_alloc_r4 (stream *, int *); +extern char *mem_alloc_r4 (stream *, int *); internal_proto(mem_alloc_r4); extern stream *input_stream (void); |