unix: appease warning about non-standard inline

Clang warns about using `inline`, which is not technically allowed in
C89 mode (libuv compiles with `-std=c89`). It's probably best to leave
it to the compiler to do the inlining anyway.
This commit is contained in:
Sean Silva 2013-05-25 00:43:52 -06:00 committed by Ben Noordhuis
parent 7dbb974fd5
commit c39648674c
2 changed files with 2 additions and 2 deletions

View File

@ -497,7 +497,7 @@ static ssize_t uv__fs_write(uv_fs_t* req) {
return r;
}
static inline void uv__to_stat(struct stat* src, uv_stat_t* dst) {
static void uv__to_stat(struct stat* src, uv_stat_t* dst) {
dst->st_dev = src->st_dev;
dst->st_mode = src->st_mode;
dst->st_nlink = src->st_nlink;

View File

@ -116,7 +116,7 @@ static void uv__signal_unlock_and_unblock(sigset_t* saved_sigmask) {
}
inline static uv_signal_t* uv__signal_first_handle(int signum) {
static uv_signal_t* uv__signal_first_handle(int signum) {
/* This function must be called with the signal lock held. */
uv_signal_t lookup;
uv_signal_t* handle;