summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/background_gc.erl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/background_gc.erl b/src/background_gc.erl
index 34741eba70..e053a6779e 100644
--- a/src/background_gc.erl
+++ b/src/background_gc.erl
@@ -34,6 +34,15 @@
%%----------------------------------------------------------------------------
+-ifdef(use_specs).
+
+-spec(start_link/0 :: () -> {'ok', pid()} | {'error', any()}).
+-spec(run/0 :: () -> 'ok').
+
+-endif.
+
+%%----------------------------------------------------------------------------
+
start_link() ->
gen_server2:start_link({local, ?MODULE}, ?MODULE, [],
[{timeout, infinity}]).