diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-11-12 16:48:47 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-11-12 16:48:47 +0000 |
commit | 3e422eca2856eb6ef64e1f0ab8019c11c8c12e5f (patch) | |
tree | 1526be77e983b24ec5c003e4ef2ee7841cf93c95 | |
parent | 053d4728cf24d979a397cb5215954049ec4ac496 (diff) | |
download | rabbitmq-server-3e422eca2856eb6ef64e1f0ab8019c11c8c12e5f.tar.gz |
Specs
-rw-r--r-- | src/background_gc.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/background_gc.erl b/src/background_gc.erl index 34741eba..e053a677 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}]). |