Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix 'incomplete prototype' compiler warnings on SunOS.

  • Loading branch information
bnoordhuis committed Aug 22, 2011
1 parent 062af9f commit 6cc241ac7aec20303c071fd8ab202e3dd068c6a5
Showing with 10 additions and 11 deletions.
  1. +10 −11 include/uv.h
@@ -96,17 +96,6 @@ void uv_unref();
void uv_update_time();
int64_t uv_now();

/*
* Most functions return boolean: 0 for success and -1 for failure.
* On error the user should then call uv_last_error() to determine
* the error code.
*/
uv_err_t uv_last_error();
char* uv_strerror(uv_err_t err);
const char* uv_err_name(uv_err_t err);




/*
* The status parameter is 0 if the request completed successfully,
@@ -217,6 +206,16 @@ struct uv_err_s {
};


/*
* Most functions return boolean: 0 for success and -1 for failure.
* On error the user should then call uv_last_error() to determine
* the error code.
*/
uv_err_t uv_last_error();
char* uv_strerror(uv_err_t err);
const char* uv_err_name(uv_err_t err);


#define UV_REQ_FIELDS \
/* read-only */ \
uv_req_type type; \

0 comments on commit 6cc241a

Please sign in to comment.
You can’t perform that action at this time.