aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/doc/src
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-10-04 16:47:58 +0200
committerKostis Sagonas <[email protected]>2016-10-04 16:47:58 +0200
commit52598d49c267110dff69f40411ff9a217cd9041d (patch)
tree0ff8be239791427f50cec2efb7cb45aac745dc95 /lib/inets/doc/src
parent5618dedfe1da25c7941052cdc1bc648e22ad3fbe (diff)
downloadotp-52598d49c267110dff69f40411ff9a217cd9041d.tar.gz
otp-52598d49c267110dff69f40411ff9a217cd9041d.tar.bz2
otp-52598d49c267110dff69f40411ff9a217cd9041d.zip
Replace ref() with reference() in inets files
This supersedes PR #1185 (submitted by @KrzysiekJ) that changed all occurrences of ref() with reference() in inets files. However, there is little point in having these types only in comments. So, these types are now exposed as type declarations for the record fields they appear. While at it, uncommented more commented out type declarations and declared types for records defined in the affected modules and header files. Some type-unfriendly and obsolete code related to supporting code ungrades with a really old OTP release was also removed.
Diffstat (limited to 'lib/inets/doc/src')
-rw-r--r--lib/inets/doc/src/httpc.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/doc/src/httpc.xml b/lib/inets/doc/src/httpc.xml
index 13471aab2c..705afec022 100644
--- a/lib/inets/doc/src/httpc.xml
+++ b/lib/inets/doc/src/httpc.xml
@@ -68,7 +68,7 @@
this module:</p>
<p><c>boolean() = true | false</c></p>
<p><c>string()</c> = list of ASCII characters</p>
- <p><c>request_id() = ref()</c></p>
+ <p><c>request_id() = reference()</c></p>
<p><c>profile() = atom()</c></p>
<p><c>path() = string()</c> representing a file path or directory path</p>
<p><c>ip_address()</c> = See the