diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/OS400/os400sys.c | 31 | ||||
-rw-r--r-- | packages/vms/config-vms.h | 3 |
2 files changed, 0 insertions, 34 deletions
diff --git a/packages/OS400/os400sys.c b/packages/OS400/os400sys.c index 4a63e0891..73e13fda0 100644 --- a/packages/OS400/os400sys.c +++ b/packages/OS400/os400sys.c @@ -340,37 +340,6 @@ Curl_getaddrinfo_a(const char * nodename, const char * servname, } -int -Curl_inet_ntoa_r_a(struct in_addr internet_address, - char * output_buffer, int output_buffer_length) - -{ - int rc; - int i; - char * cp; - - if (!output_buffer || output_buffer_length < 16) - return inet_ntoa_r(internet_address, output_buffer, output_buffer_length); - - if (!(cp = malloc(output_buffer_length + 1))) - return -1; - - rc = inet_ntoa_r(internet_address, cp, output_buffer_length); - - if (rc) { - free(cp); - return rc; - } - - cp[output_buffer_length - 1] = '\0'; - i = strlen(cp); - QadrtConvertE2A(output_buffer, cp, i, i); - output_buffer[i] = '\0'; - free(cp); - return rc; -} - - #ifdef USE_QSOSSL /* ASCII wrappers for the SSL procedures. */ diff --git a/packages/vms/config-vms.h b/packages/vms/config-vms.h index f38576713..302915414 100644 --- a/packages/vms/config-vms.h +++ b/packages/vms/config-vms.h @@ -62,9 +62,6 @@ /* Define if you have the inet_addr function. */ #define HAVE_INET_ADDR 1 -/* Define if you have the inet_ntoa function. */ -#define HAVE_INET_NTOA 1 - /* Define if you have the perror function. */ #define HAVE_PERROR 1 |