mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
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
This commit is contained in:
committed by
Alexander Larsson
parent
a8a42c8b15
commit
2c362b7f9e
@@ -110,15 +110,15 @@ g_local_file_output_stream_class_init (GLocalFileOutputStreamClass *klass)
|
||||
|
||||
gobject_class->finalize = g_local_file_output_stream_finalize;
|
||||
|
||||
stream_class->write = g_local_file_output_stream_write;
|
||||
stream_class->close = g_local_file_output_stream_close;
|
||||
stream_class->write_fn = g_local_file_output_stream_write;
|
||||
stream_class->close_fn = g_local_file_output_stream_close;
|
||||
file_stream_class->query_info = g_local_file_output_stream_query_info;
|
||||
file_stream_class->get_etag = g_local_file_output_stream_get_etag;
|
||||
file_stream_class->tell = g_local_file_output_stream_tell;
|
||||
file_stream_class->can_seek = g_local_file_output_stream_can_seek;
|
||||
file_stream_class->seek = g_local_file_output_stream_seek;
|
||||
file_stream_class->can_truncate = g_local_file_output_stream_can_truncate;
|
||||
file_stream_class->truncate = g_local_file_output_stream_truncate;
|
||||
file_stream_class->truncate_fn = g_local_file_output_stream_truncate;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user