diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-02-03 04:36:08 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-02-03 04:36:08 +0000 |
commit | 88bf8b42f81ba696499db38fbb7ca08e36507c35 (patch) | |
tree | 383181980b342bb1776ceb6477fa6988fba7b8f6 | |
parent | 3793ccef84e83fe26f54998fd2819033496d243e (diff) |
The necessary defs are in paths.h now.
-rw-r--r-- | usr.sbin/syslogd/pathnames.h | 41 | ||||
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 2 |
2 files changed, 1 insertions, 42 deletions
diff --git a/usr.sbin/syslogd/pathnames.h b/usr.sbin/syslogd/pathnames.h deleted file mode 100644 index 4c591586e59..00000000000 --- a/usr.sbin/syslogd/pathnames.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)pathnames.h 8.1 (Berkeley) 6/6/93 - * $NetBSD: pathnames.h,v 1.3 1996/01/02 17:30:29 perry Exp $ - */ - -#include <paths.h> - -#define _PATH_KLOG "/dev/klog" -#define _PATH_LOGCONF "/etc/syslog.conf" -#define _PATH_LOGPID "/var/run/syslog.pid" diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 1068b460b86..9c3a9c5b755 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -96,7 +96,7 @@ static char rcsid[] = "$NetBSD: syslogd.c,v 1.5 1996/01/02 17:48:41 perry Exp $" #include <string.h> #include <unistd.h> #include <utmp.h> -#include "pathnames.h" +#include <paths.h> #define SYSLOG_NAMES #include <sys/syslog.h> |