aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/getsockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getsockopt.c')
-rw-r--r--sysdeps/mach/hurd/getsockopt.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sysdeps/mach/hurd/getsockopt.c b/sysdeps/mach/hurd/getsockopt.c
index d1bc5b9028..7e35fa5024 100644
--- a/sysdeps/mach/hurd/getsockopt.c
+++ b/sysdeps/mach/hurd/getsockopt.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,94,97,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1992,94,97,2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,12 +29,11 @@
/* XXX should be __getsockopt ? */
int
-getsockopt (fd, level, optname, optval, optlen)
- int fd;
- int level;
- int optname;
- void *optval;
- size_t *optlen;
+getsockopt (int fd,
+ int level,
+ int optname,
+ void *optval,
+ socklen_t *optlen)
{
error_t err;
char *buf = optval;