Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys make support for kqueue(2) and kevent(2) uncond...



details:   https://anonhg.NetBSD.org/src/rev/a2dbc59bacc6
branches:  trunk
changeset: 538609:a2dbc59bacc6
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Oct 23 09:25:48 2002 +0000

description:
make support for kqueue(2) and kevent(2) unconditional, the kqueue branch
was merged

diffstat:

 lib/libc/sys/Makefile.inc |  10 +++-------
 lib/libc/sys/makelintstub |   4 +---
 2 files changed, 4 insertions(+), 10 deletions(-)

diffs (51 lines):

diff -r b205948083b8 -r a2dbc59bacc6 lib/libc/sys/Makefile.inc
--- a/lib/libc/sys/Makefile.inc Wed Oct 23 09:22:35 2002 +0000
+++ b/lib/libc/sys/Makefile.inc Wed Oct 23 09:25:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.130 2002/10/12 17:41:20 jdolecek Exp $
+#      $NetBSD: Makefile.inc,v 1.131 2002/10/23 09:25:48 jdolecek Exp $
 #      @(#)Makefile.inc        8.3 (Berkeley) 10/24/94
 
 # sys sources
@@ -51,7 +51,8 @@
        getdents.S getfh.S getfsstat.S getgroups.S getitimer.S \
        __getlogin.S getpeername.S getpgid.S getpgrp.S \
        getpriority.S getrlimit.S getrusage.S getsid.S getsockname.S \
-       getsockopt.S gettimeofday.S ioctl.S kill.S ktrace.S \
+       getsockopt.S gettimeofday.S ioctl.S kevent.S kill.S kqueue.S \
+       ktrace.S \
        lchflags.S lchmod.S lchown.S __lstat13.S lfs_bmapv.S lfs_markv.S \
        lfs_segclean.S lfs_segwait.S link.S listen.S lutimes.S \
        madvise.S mincore.S minherit.S mkdir.S mkfifo.S mknod.S \
@@ -72,11 +73,6 @@
        __sysctl.S \
        __posix_chown.S __posix_fchown.S __posix_lchown.S __posix_rename.S
 
-.if defined(WITH_KQUEUE) && exists(${DESTDIR}/usr/include/sys/event.h)
-ASM+=          kqueue.S kevent.S
-CPPFLAGS+=     -DWITH_KQUEUE
-.endif
-
 WEAKASM= sysarch.S
 
 NOERR= getegid.S geteuid.S getgid.S getpid.S getppid.S getuid.S \
diff -r b205948083b8 -r a2dbc59bacc6 lib/libc/sys/makelintstub
--- a/lib/libc/sys/makelintstub Wed Oct 23 09:22:35 2002 +0000
+++ b/lib/libc/sys/makelintstub Wed Oct 23 09:25:48 2002 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-# $NetBSD: makelintstub,v 1.10 2002/10/12 17:41:20 jdolecek Exp $
+# $NetBSD: makelintstub,v 1.11 2002/10/23 09:25:49 jdolecek Exp $
 #
 # Copyright (c) 1996, 1997 Christopher G. Demetriou
 # All rights reserved.
@@ -65,9 +65,7 @@
        #include <sys/shm.h>
        #include <sys/timex.h>
        #include <sys/socket.h>
-       #ifdef WITH_KQUEUE
        #include <sys/event.h>
-       #endif
        #ifdef __STDC__
        #include <stdarg.h>
        #else



Home | Main Index | Thread Index | Old Index