summaryrefslogtreecommitdiff
path: root/gio/gfile.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-12-05 10:38:03 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-12-05 10:38:03 +0000
commit2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5 (patch)
treec9e9430e3c9954ee332271980d4e157aeafa0543 /gio/gfile.h
parenta8a42c8b15f38302939c9b7b198d59be29805cb2 (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/gfile.h')
-rw-r--r--gio/gfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gfile.h b/gio/gfile.h
index e9df49dde..5872b8d00 100644
--- a/gio/gfile.h
+++ b/gio/gfile.h
@@ -352,7 +352,7 @@ struct _GFileIface
GFileInfo **info,
GError **error);
- GFileInputStream * (*read) (GFile *file,
+ GFileInputStream * (*read_fn) (GFile *file,
GCancellable *cancellable,
GError **error);
void (*read_async) (GFile *file,
@@ -378,7 +378,7 @@ struct _GFileIface
GAsyncResult *res,
GError **error);
- GFileOutputStream * (*create) (GFile *file,
+ GFileOutputStream * (*create) (GFile *file,
GFileCreateFlags flags,
GCancellable *cancellable,
GError **error);