Showing with 6 additions and 6 deletions.
  1. +2 −2 include/uv.h
  2. +2 −2 test/test-getnameinfo.c
  3. +2 −2 test/test-threadpool-cancel.c
@@ -429,8 +429,8 @@ typedef void (*uv_getaddrinfo_cb)(uv_getaddrinfo_t* req,
struct addrinfo* res);
typedef void (*uv_getnameinfo_cb)(uv_getnameinfo_t* req,
int status,
char* hostname,
char* service);
const char* hostname,
const char* service);

typedef struct {
long tv_sec;
@@ -36,8 +36,8 @@ static uv_getnameinfo_t req;

static void getnameinfo_req(uv_getnameinfo_t* handle,
int status,
char* hostname,
char* service) {
const char* hostname,
const char* service) {
ASSERT(handle != NULL);
ASSERT(status == 0);
ASSERT(hostname != NULL);
@@ -129,8 +129,8 @@ static void getaddrinfo_cb(uv_getaddrinfo_t* req,

static void getnameinfo_cb(uv_getnameinfo_t* handle,
int status,
char* hostname,
char* service) {
const char* hostname,
const char* service) {
ASSERT(status == UV_EAI_CANCELED);
ASSERT(hostname == NULL);
ASSERT(service == NULL);