summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_getsockname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_getsockname.c')
-rw-r--r--lib/libc_r/uthread/uthread_getsockname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_getsockname.c b/lib/libc_r/uthread/uthread_getsockname.c
index c20e73ae8ce..4ed580dc2cf 100644
--- a/lib/libc_r/uthread/uthread_getsockname.c
+++ b/lib/libc_r/uthread/uthread_getsockname.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_getsockname.c,v 1.2 1999/01/06 05:29:24 d Exp $
+ * $OpenBSD: uthread_getsockname.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
-getsockname(int s, struct sockaddr * name, int *namelen)
+getsockname(int s, struct sockaddr * name, socklen_t *namelen)
{
int ret;