summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2001-09-29 17:45:37 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2001-09-29 17:45:37 +0000
commit430d9e16c3b2edd44bb491d727cbd3b9d75e46f1 (patch)
treef24b2f34d2c332d81dd63ce3089c8caf63df578f
parent85fb35ef19dda07602664ca312a5182b63734223 (diff)
re-enable pidfile(3). ok millert@
-rw-r--r--lib/libutil/Makefile6
-rw-r--r--lib/libutil/shlib_version2
-rw-r--r--lib/libutil/util.h3
3 files changed, 6 insertions, 5 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index aea8ed07051..3b400f3d833 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2001/09/29 10:56:29 deraadt Exp $
+# $OpenBSD: Makefile,v 1.25 2001/09/29 17:45:35 jakob Exp $
# $NetBSD: Makefile,v 1.8 1996/05/16 07:03:28 thorpej Exp $
LIB= util
@@ -7,11 +7,11 @@ CFLAGS+=-DLIBC_SCCS
HDRS= util.h scsi.h
SRCS= check_expire.c getmaxpartitions.c getrawpartition.c login.c \
login_tty.c logout.c logwtmp.c opendev.c passwd.c pty.c readlabel.c \
- scsi.c login_fbtab.c uucplock.c fparseln.c opendisk.c
+ scsi.c login_fbtab.c uucplock.c fparseln.c opendisk.c pidfile.c
MAN= check_expire.3 getmaxpartitions.3 getrawpartition.3 login.3 opendev.3 \
openpty.3 pw_init.3 pw_lock.3 readlabelfs.3 scsi.3 pw_getconf.3 \
- uucplock.3 fparseln.3 opendisk.3 login_fbtab.3
+ uucplock.3 fparseln.3 opendisk.3 login_fbtab.3 pidfile.3
MLINKS+=login.3 logout.3
MLINKS+=login.3 logwtmp.3
diff --git a/lib/libutil/shlib_version b/lib/libutil/shlib_version
index 5b844bbf422..b39addfcc64 100644
--- a/lib/libutil/shlib_version
+++ b/lib/libutil/shlib_version
@@ -1,2 +1,2 @@
major=7
-minor=0
+minor=1
diff --git a/lib/libutil/util.h b/lib/libutil/util.h
index 8ccaa33539e..bff64ce0367 100644
--- a/lib/libutil/util.h
+++ b/lib/libutil/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.17 2001/09/29 11:07:01 matthieu Exp $ */
+/* $OpenBSD: util.h,v 1.18 2001/09/29 17:45:36 jakob Exp $ */
/* $NetBSD: util.h,v 1.2 1996/05/16 07:00:22 thorpej Exp $ */
/*-
@@ -87,6 +87,7 @@ int login_tty __P((int));
int logout __P((const char *));
void logwtmp __P((const char *, const char *, const char *));
int opendev __P((char *, int, int, char **));
+int pidfile __P((const char *));
void pw_setdir __P((const char *));
char *pw_file __P((const char *));
int pw_lock __P((int retries));