Repository: thrift Updated Branches: refs/heads/master 40c28d331 -> b343feee0
THRIFT-3370 errno extern variable redefined. Not compiling for Android Client: c_glib Patch: Gonzalo Aguilar This closes #638 Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/b343feee Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/b343feee Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/b343feee Branch: refs/heads/master Commit: b343feee0d048e214c93bd78560af9185531c094 Parents: 40c28d3 Author: Gonzalo Aguilar Delgado <[email protected]> Authored: Fri Oct 9 04:14:59 2015 +0200 Committer: Nobuaki Sukegawa <[email protected]> Committed: Wed Oct 21 23:39:54 2015 +0900 ---------------------------------------------------------------------- lib/c_glib/src/thrift/c_glib/transport/thrift_server_socket.c | 3 --- lib/c_glib/src/thrift/c_glib/transport/thrift_socket.c | 3 --- 2 files changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/b343feee/lib/c_glib/src/thrift/c_glib/transport/thrift_server_socket.c ---------------------------------------------------------------------- diff --git a/lib/c_glib/src/thrift/c_glib/transport/thrift_server_socket.c b/lib/c_glib/src/thrift/c_glib/transport/thrift_server_socket.c index 97a0ec2..6fc6ab3 100644 --- a/lib/c_glib/src/thrift/c_glib/transport/thrift_server_socket.c +++ b/lib/c_glib/src/thrift/c_glib/transport/thrift_server_socket.c @@ -42,9 +42,6 @@ enum _ThriftServerSocketProperties /* define the GError domain string */ #define THRIFT_SERVER_SOCKET_ERROR_DOMAIN "thrift-server-socket-error-quark" -/* for errors coming from socket() and connect() */ -extern int errno; - G_DEFINE_TYPE(ThriftServerSocket, thrift_server_socket, THRIFT_TYPE_SERVER_TRANSPORT) gboolean http://git-wip-us.apache.org/repos/asf/thrift/blob/b343feee/lib/c_glib/src/thrift/c_glib/transport/thrift_socket.c ---------------------------------------------------------------------- diff --git a/lib/c_glib/src/thrift/c_glib/transport/thrift_socket.c b/lib/c_glib/src/thrift/c_glib/transport/thrift_socket.c index 1c147ec..07ee2cb 100644 --- a/lib/c_glib/src/thrift/c_glib/transport/thrift_socket.c +++ b/lib/c_glib/src/thrift/c_glib/transport/thrift_socket.c @@ -37,9 +37,6 @@ enum _ThriftSocketProperties PROP_THRIFT_SOCKET_PORT }; -/* for errors coming from socket() and connect() */ -extern int errno; - G_DEFINE_TYPE(ThriftSocket, thrift_socket, THRIFT_TYPE_TRANSPORT) /* implements thrift_transport_is_open */
