diff options
author | Nathan Hoad <nathan@getoffmalawn.com> | 2015-03-08 13:38:44 +1100 |
---|---|---|
committer | Nathan Hoad <nathan@getoffmalawn.com> | 2015-03-08 13:38:44 +1100 |
commit | e214308cb19c5085979dc470c4804d0173eccb1e (patch) | |
tree | 23945e4993fceaa6ab3412d294b586d758746967 | |
parent | c179d10897e89fc1bfd0ab42578f79722989cd3a (diff) | |
download | Nim-e214308cb19c5085979dc470c4804d0173eccb1e.tar.gz |
Remvoe the visibility on these, given their forward declarations already
specify it.
-rw-r--r-- | lib/pure/net.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 0c5b594bd..ffbc6e320 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -1250,7 +1250,7 @@ proc parseIPv6Address(address_str: string): TIpAddress = raise newException(ValueError, "Invalid IP Address. The address consists of too many groups") -proc parseIpAddress*(address_str: string): TIpAddress = +proc parseIpAddress(address_str: string): TIpAddress = ## Parses an IP address ## Raises EInvalidValue on error if address_str == nil: @@ -1261,7 +1261,7 @@ proc parseIpAddress*(address_str: string): TIpAddress = return parseIPv4Address(address_str) -proc isIpAddress*(address_str: string): bool = +proc isIpAddress(address_str: string): bool = ## Checks if a string is an IP address ## Returns true if it is, false otherwise try: |