diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-12-05 10:38:03 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-12-05 10:38:03 +0000 |
commit | 2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5 (patch) | |
tree | c9e9430e3c9954ee332271980d4e157aeafa0543 /gio/gunixinputstream.c | |
parent | a8a42c8b15f38302939c9b7b198d59be29805cb2 (diff) |
Rename all struct members named: read, write, close, truncate, or mount to
2007-12-05 Alexander Larsson <alexl@redhat.com>
* gbufferedinputstream.c:
* gbufferedoutputstream.c:
* gdrive.[ch]:
* gfile.[ch]:
* gfileenumerator.[ch]:
* gfileinputstream.c:
* gfileoutputstream.[ch]:
* gfilterinputstream.c:
* gfilteroutputstream.c:
* ginputstream.[ch]:
* glocalfile.c:
* glocalfileenumerator.c:
* glocalfileinputstream.c:
* glocalfileoutputstream.c:
* gmemoryinputstream.c:
* gmemoryoutputstream.c:
* goutputstream.[ch]:
* gseekable.[ch]:
* gunixdrive.c:
* gunixinputstream.c:
* gunixoutputstream.c:
Rename all struct members named:
read, write, close, truncate, or mount
to foo_fn, as these are reserved names
and could be defined as macros in libc.
(#501645)
svn path=/trunk/; revision=6048
Diffstat (limited to 'gio/gunixinputstream.c')
-rw-r--r-- | gio/gunixinputstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gunixinputstream.c b/gio/gunixinputstream.c index b1de0ed28..b9c1c31c1 100644 --- a/gio/gunixinputstream.c +++ b/gio/gunixinputstream.c @@ -116,8 +116,8 @@ g_unix_input_stream_class_init (GUnixInputStreamClass *klass) gobject_class->finalize = g_unix_input_stream_finalize; - stream_class->read = g_unix_input_stream_read; - stream_class->close = g_unix_input_stream_close; + stream_class->read_fn = g_unix_input_stream_read; + stream_class->close_fn = g_unix_input_stream_close; stream_class->read_async = g_unix_input_stream_read_async; stream_class->read_finish = g_unix_input_stream_read_finish; if (0) |