diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2007-05-01 18:16:39 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2007-05-01 18:16:39 +0000 |
commit | 2873cff2028a46ccd29acf1674681d1f6345235c (patch) | |
tree | 8be29cd363cc421007828e0daf6c0ea3bd422a0b /lib/libpthread/uthread/uthread_recvfrom.c | |
parent | 63e783e3a80759882e2bb25e4641ebe9c9c3d75e (diff) |
lint warning corrections:
- use the correct types
- mark _thread_gc() w/ARGSUSED
- fix a 'a cast does not yield an lvalue'
okay marc@
Diffstat (limited to 'lib/libpthread/uthread/uthread_recvfrom.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_recvfrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_recvfrom.c b/lib/libpthread/uthread/uthread_recvfrom.c index 21ff7e3f6a5..f27e6e2397a 100644 --- a/lib/libpthread/uthread/uthread_recvfrom.c +++ b/lib/libpthread/uthread/uthread_recvfrom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_recvfrom.c,v 1.8 2006/10/03 02:59:36 kurt Exp $ */ +/* $OpenBSD: uthread_recvfrom.c,v 1.9 2007/05/01 18:16:38 kurt Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -44,7 +44,7 @@ ssize_t recvfrom(int fd, void *buf, size_t len, int flags, struct sockaddr * from, socklen_t *from_len) { struct pthread *curthread = _get_curthread(); - int ret; + ssize_t ret; /* This is a cancellation point: */ _thread_enter_cancellation_point(); |