Remvoe the visibility on these, given their forward declarations already

specify it.
This commit is contained in:
Nathan Hoad 2015-03-08 13:38:44 +11:00
commit e214308cb1

View file

@ -1250,7 +1250,7 @@ proc parseIPv6Address(address_str: string): TIpAddress =
raise newException(ValueError, raise newException(ValueError,
"Invalid IP Address. The address consists of too many groups") "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 ## Parses an IP address
## Raises EInvalidValue on error ## Raises EInvalidValue on error
if address_str == nil: if address_str == nil:
@ -1261,7 +1261,7 @@ proc parseIpAddress*(address_str: string): TIpAddress =
return parseIPv4Address(address_str) return parseIPv4Address(address_str)
proc isIpAddress*(address_str: string): bool = proc isIpAddress(address_str: string): bool =
## Checks if a string is an IP address ## Checks if a string is an IP address
## Returns true if it is, false otherwise ## Returns true if it is, false otherwise
try: try: