diff options
author | Siri Hansen <[email protected]> | 2014-04-02 18:27:17 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-04-02 18:27:17 +0200 |
commit | b52458dfbbb6e9a0c9f62dfcd0dd7f9247efa0af (patch) | |
tree | 68a2acd7ddd25b8eecc2f797ce2f59a5cd26099d /lib/stdlib/src | |
parent | ac79481c9bd9894616213a5b7eccf6d5f94cbed8 (diff) | |
download | otp-b52458dfbbb6e9a0c9f62dfcd0dd7f9247efa0af.tar.gz otp-b52458dfbbb6e9a0c9f62dfcd0dd7f9247efa0af.tar.bz2 otp-b52458dfbbb6e9a0c9f62dfcd0dd7f9247efa0af.zip |
Deprecate module pg
To be removed in Erlang/OTP 18
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/otp_internal.erl | 4 | ||||
-rw-r--r-- | lib/stdlib/src/pg.erl | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index 971a2e2baa..356eb7ade9 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2013. All Rights Reserved. +%% Copyright Ericsson AB 1999-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -577,6 +577,8 @@ obsolete_1(asn1rt, utf8_binary_to_list, 1) -> {deprecated,{unicode,characters_to_list,1}}; obsolete_1(asn1rt, utf8_list_to_binary, 1) -> {deprecated,{unicode,characters_to_binary,1}}; +obsolete_1(pg, _, _) -> + {deprecated,"deprecated; will be removed in OTP 18"}; obsolete_1(_, _, _) -> no. diff --git a/lib/stdlib/src/pg.erl b/lib/stdlib/src/pg.erl index ee177e4e0b..a41fd329c2 100644 --- a/lib/stdlib/src/pg.erl +++ b/lib/stdlib/src/pg.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2011. All Rights Reserved. +%% Copyright Ericsson AB 1996-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -17,6 +17,7 @@ %% %CopyrightEnd% %% -module(pg). +-deprecated(module). %% pg provides a process group facility. Messages %% can be multicasted to all members in the group |