diff options
author | Hans Bolinder <[email protected]> | 2012-10-05 09:16:39 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2012-10-05 09:16:39 +0200 |
commit | f1301581ce83ce80426d3fcf09cf12f8527a458b (patch) | |
tree | 173b459097a437ff078a6f0d7313e9b197570dc6 /lib/kernel/src/pg2.erl | |
parent | a24c49aec663f19092cf0d2062af19523666d291 (diff) | |
download | otp-f1301581ce83ce80426d3fcf09cf12f8527a458b.tar.gz otp-f1301581ce83ce80426d3fcf09cf12f8527a458b.tar.bz2 otp-f1301581ce83ce80426d3fcf09cf12f8527a458b.zip |
Fix Dialyzer warnings
Opaque types need to be exported.
Diffstat (limited to 'lib/kernel/src/pg2.erl')
-rw-r--r-- | lib/kernel/src/pg2.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/pg2.erl b/lib/kernel/src/pg2.erl index 0d5838716e..1ff10eb303 100644 --- a/lib/kernel/src/pg2.erl +++ b/lib/kernel/src/pg2.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1997-2011. All Rights Reserved. +%% Copyright Ericsson AB 1997-2012. 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 @@ -159,7 +159,7 @@ get_closest_pid(Name) -> -record(state, {}). --opaque state() :: #state{}. +-type state() :: #state{}. -spec init(Arg :: []) -> {'ok', state()}. |