erlang: Un-revert r988722

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991003 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/erl/include/thrift_protocol_behaviour.hrl b/lib/erl/include/thrift_protocol_behaviour.hrl
index b75bb4a..abe300b 100644
--- a/lib/erl/include/thrift_protocol_behaviour.hrl
+++ b/lib/erl/include/thrift_protocol_behaviour.hrl
@@ -25,13 +25,13 @@
 -spec flush_transport(state()) -> {state(), ok | {error, _Reason}}.
 -spec close_transport(state()) -> {state(), ok | {error, _Reason}}.
 
--spec write(state(), term()) -> {state(), ok | {error, _Reason}}.
+-spec write(state(), any()) -> {state(), ok | {error, _Reason}}.
 
 %% NOTE: Keep this in sync with thrift_protocol:read and read_specific.
 -spec read
         (state(), tprot_empty_tag()) ->  {state(),  ok                | {error, _Reason}};
         (state(), tprot_header_tag()) -> {state(), tprot_header_val() | {error, _Reason}};
-        (state(), tprot_data_tag()) ->   {state(), {ok, term()}       | {error, _Reason}}.
+        (state(), tprot_data_tag()) ->   {state(), {ok, any()}        | {error, _Reason}}.
 
 
 -endif.