summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_getsockopt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-16 16:40:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-16 16:40:02 +0000
commitd80dcac7381da3a2efb026ae223acdaa625245b6 (patch)
tree844f81839683d7e267cffc23f1bdeec726bbe728 /lib/libc_r/uthread/uthread_getsockopt.c
parentb58a1a6c18a32db53f7e727c2a90c68c552b56b6 (diff)
deal with socklen_t
Diffstat (limited to 'lib/libc_r/uthread/uthread_getsockopt.c')
-rw-r--r--lib/libc_r/uthread/uthread_getsockopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_getsockopt.c b/lib/libc_r/uthread/uthread_getsockopt.c
index cb1aa034497..7205ac345a3 100644
--- a/lib/libc_r/uthread/uthread_getsockopt.c
+++ b/lib/libc_r/uthread/uthread_getsockopt.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_getsockopt.c,v 1.2 1999/01/06 05:29:24 d Exp $
+ * $OpenBSD: uthread_getsockopt.c,v 1.3 1999/02/16 16:40:00 deraadt Exp $
*/
#include <sys/types.h>
#include <sys/socket.h>
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-getsockopt(int fd, int level, int optname, void *optval, int *optlen)
+getsockopt(int fd, int level, int optname, void *optval, socklen_t *optlen)
{
int ret;