]> git.saurik.com Git - apple/libc.git/blobdiff - i386/sys/listen.s
Libc-391.5.18.tar.gz
[apple/libc.git] / i386 / sys / listen.s
index a99b2819dc770e24f752db2a95a206df8ecaea10..3257f81d9e313b851367098c88527dd338e16538 100644 (file)
@@ -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
 /*
  * Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  */
-#include "SYS.h"
+#include <SYS.h>
 
+#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__ */