X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/734aad71947a79037af64f74c683f5eb36fe6065..8e029c653e0567df7ce6933dde41f5830dbbbcda:/i386/sys/listen.s diff --git a/i386/sys/listen.s b/i386/sys/listen.s index a99b281..3257f81 100644 --- a/i386/sys/listen.s +++ b/i386/sys/listen.s @@ -1,10 +1,8 @@ /* - * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. + * Copyright (c) 1999, 2006 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -25,7 +23,15 @@ /* * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved */ -#include "SYS.h" +#include +#ifdef __LP64__ UNIX_SYSCALL(listen, 2) ret +#else /* !__LP64__ */ +PSEUDO(listen$UNIX2003, listen, 2) + ret + +UNIX_SYSCALL_ERR(listen, 2, cerror_cvt) + ret +#endif /* !__LP64__ */