From 3a6ece2c93372fff5dba6914bdcf2d70e5b941e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Thu, 20 Oct 2016 16:34:04 +0200 Subject: erl_interface: Fix xmllint problems --- lib/erl_interface/doc/src/ei_connect.xml | 2 -- lib/erl_interface/doc/src/erl_connect.xml | 6 ------ lib/erl_interface/doc/src/erl_eterm.xml | 6 +----- lib/erl_interface/doc/src/erl_format.xml | 1 - lib/erl_interface/doc/src/erl_global.xml | 1 - lib/erl_interface/doc/src/erl_malloc.xml | 1 - lib/erl_interface/doc/src/registry.xml | 2 -- 7 files changed, 1 insertion(+), 18 deletions(-) (limited to 'lib/erl_interface') diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index 08ae3db071..06b54dbff4 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -348,7 +348,6 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { intei_receive(int fd, unsigned char* bufp, int bufsize) Receive a message. -

Receives a message consisting of a sequence of bytes in the Erlang external format.

@@ -432,7 +431,6 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { intei_receive_msg(int fd, erlang_msg* msg, ei_x_buff* x) intei_xreceive_msg(int fd, erlang_msg* msg, ei_x_buff* x) Receive a message. -

Receives a message to the buffer in . allows the buffer in diff --git a/lib/erl_interface/doc/src/erl_connect.xml b/lib/erl_interface/doc/src/erl_connect.xml index 3796a763c3..a6b9e586f4 100644 --- a/lib/erl_interface/doc/src/erl_connect.xml +++ b/lib/erl_interface/doc/src/erl_connect.xml @@ -51,7 +51,6 @@ interl_accept(listensock, conp) Accept a connection. - int listensock; ErlConnect *conp; @@ -153,7 +152,6 @@ erl_xconnect( &addr , ALIVE ); interl_connect_init(number, cookie, creation) interl_connect_xinit(host, alive, node, addr, cookie, creation) Initialize communication. - int number; char *cookie; @@ -281,7 +279,6 @@ if (!erl_connect_init(17, "samplecookiestring...", 0)) interl_receive(fd, bufp, bufsize) Receive a message. - int fd; char *bufp; @@ -321,7 +318,6 @@ if (!erl_connect_init(17, "samplecookiestring...", 0)) interl_receive_msg(fd, bufp, bufsize, emsg) Receive and decode a message. - int fd; unsigned char *bufp; @@ -417,7 +413,6 @@ typedef struct { interl_reg_send(fd, to, msg) Send a message to a registered name. - int fd; char *to; @@ -518,7 +513,6 @@ typedef struct { interl_send(fd, to, msg) Send a message. - int fd; ETERM *to, *msg; diff --git a/lib/erl_interface/doc/src/erl_eterm.xml b/lib/erl_interface/doc/src/erl_eterm.xml index ee10c3cf0b..e619232e4c 100644 --- a/lib/erl_interface/doc/src/erl_eterm.xml +++ b/lib/erl_interface/doc/src/erl_eterm.xml @@ -237,7 +237,6 @@ erl_free_compound(list); int 0; -

This function must be called before any of the others in the library to initialize the library functions. The arguments must be specified as @@ -273,7 +272,6 @@ erl_free_compound(list);

is an Erlang term containing a list.

Returns an Erlang binary term, or NULL if was not an I/O list.

-

Informally, an I/O list is a deep list of characters and binaries that can be sent to an Erlang port. In BNF, an I/O list is formally defined as follows:

@@ -676,16 +674,14 @@ iohead ::= Binary voiderl_set_compat_rel(release_number) Set the Erl_Interface library in compatibility mode. - unsigned release_number; -

By default, the library is only guaranteed to be compatible with other Erlang/OTP components from the same release as the library itself. - For example, from Erlang/OTP R10 + For example, from Erlang/OTP R10 is not compatible with an Erlang emulator from Erlang/OTP R9 by default.

A call to sets diff --git a/lib/erl_interface/doc/src/erl_format.xml b/lib/erl_interface/doc/src/erl_format.xml index 170e984b34..f6f27326ff 100644 --- a/lib/erl_interface/doc/src/erl_format.xml +++ b/lib/erl_interface/doc/src/erl_format.xml @@ -83,7 +83,6 @@ erl_format("[{name,~a},{age,~i},{data,~w}]", interl_match(Pattern, Term) Perform pattern matching. - ETERM *Pattern,*Term; diff --git a/lib/erl_interface/doc/src/erl_global.xml b/lib/erl_interface/doc/src/erl_global.xml index fa565ba56c..0808ea0eee 100644 --- a/lib/erl_interface/doc/src/erl_global.xml +++ b/lib/erl_interface/doc/src/erl_global.xml @@ -50,7 +50,6 @@ char **erl_global_names(fd,count) Obtain list of global names. - int fd; int *count; diff --git a/lib/erl_interface/doc/src/erl_malloc.xml b/lib/erl_interface/doc/src/erl_malloc.xml index 3891073158..2892afdf01 100644 --- a/lib/erl_interface/doc/src/erl_malloc.xml +++ b/lib/erl_interface/doc/src/erl_malloc.xml @@ -181,7 +181,6 @@ voiderl_free_term(t) Free an ETERM structure. - ETERM *t; diff --git a/lib/erl_interface/doc/src/registry.xml b/lib/erl_interface/doc/src/registry.xml index 022af85149..14b31d91a6 100644 --- a/lib/erl_interface/doc/src/registry.xml +++ b/lib/erl_interface/doc/src/registry.xml @@ -87,7 +87,6 @@ intei_reg_dump(fd,reg,mntab,flags) Back up a registry to Mnesia. - int fd; ei_reg *reg; @@ -281,7 +280,6 @@ intei_reg_markdirty(reg,key) Mark an object as dirty. - ei_reg *reg; const char *key; -- cgit v1.2.3