Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
4147-megaco-Types-and-spec-for-megaco-start-0.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4147-megaco-Types-and-spec-for-megaco-start-0.patch of Package erlang
From 680f25c053887bd477b10ab994837c90045bb9ea Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Thu, 4 Jan 2024 12:42:19 +0100 Subject: [PATCH 27/46] [megaco] Types and spec for megaco:start/0 OTP-18920 --- lib/megaco/doc/src/megaco.xml | 5 +---- lib/megaco/src/app/megaco.erl | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/megaco/doc/src/megaco.xml b/lib/megaco/doc/src/megaco.xml index e210b63ad7..016b512555 100644 --- a/lib/megaco/doc/src/megaco.xml +++ b/lib/megaco/doc/src/megaco.xml @@ -516,11 +516,8 @@ megaco_incr_timer() = #megaco_incr_timer{} <funcs> <func> - <name since="">start() -> ok | {error, Reason}</name> + <name name="start" arity="0" clause_i="1" since=""/> <fsummary>Starts the Megaco application</fsummary> - <type> - <v>Reason = term()</v> - </type> <desc> <p>Starts the Megaco application</p> <p>Users may either explicitly be registered with diff --git a/lib/megaco/src/app/megaco.erl b/lib/megaco/src/app/megaco.erl index 9dd9cc58a2..e9bf93671c 100644 --- a/lib/megaco/src/app/megaco.erl +++ b/lib/megaco/src/app/megaco.erl @@ -213,6 +213,9 @@ %% Starts the Megaco application %%----------------------------------------------------------------- +-spec start() -> ok | {error, Reason} when + Reason :: term(). + start() -> application:start(?APPLICATION). -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor