diff options
author | ed <ed@FreeBSD.org> | 2010-01-13 18:28:58 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-13 18:28:58 +0000 |
commit | 6dd5ce59c1f83726b050d89474c42f34919a7395 (patch) | |
tree | 6788be15d1662e1d1fb8aa45a5cc58ec190881f8 /libexec | |
parent | a0af351d02a6107aa858c4b27ec786f93c2cd0cb (diff) | |
download | FreeBSD-src-6dd5ce59c1f83726b050d89474c42f34919a7395.zip FreeBSD-src-6dd5ce59c1f83726b050d89474c42f34919a7395.tar.gz |
Port all apps in libexec/ from libulog to utmpx.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rpc.rusersd/Makefile | 4 | ||||
-rw-r--r-- | libexec/rpc.rusersd/rusers_proc.c | 3 | ||||
-rw-r--r-- | libexec/talkd/Makefile | 4 | ||||
-rw-r--r-- | libexec/talkd/process.c | 3 |
4 files changed, 4 insertions, 10 deletions
diff --git a/libexec/rpc.rusersd/Makefile b/libexec/rpc.rusersd/Makefile index 1891894..6305343 100644 --- a/libexec/rpc.rusersd/Makefile +++ b/libexec/rpc.rusersd/Makefile @@ -4,8 +4,8 @@ PROG = rpc.rusersd SRCS = rusersd.c rusers_proc.c MAN = rpc.rusersd.8 -DPADD= ${LIBRPCSVC} ${LIBULOG} ${LIBUTIL} -LDADD= -lrpcsvc -lulog -lutil +DPADD= ${LIBRPCSVC} ${LIBUTIL} +LDADD= -lrpcsvc -lutil #.if exists(/usr/X11R6/include/X11/extensions/xidle.h) #CFLAGS+= -DXIDLE diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c index 9b5486f..6b34fa7 100644 --- a/libexec/rpc.rusersd/rusers_proc.c +++ b/libexec/rpc.rusersd/rusers_proc.c @@ -45,8 +45,7 @@ static const char rcsid[] = #include <sys/stat.h> #include <stdlib.h> #include <syslog.h> -#define _ULOG_POSIX_NAMES -#include <ulog.h> +#include <utmpx.h> #ifdef XIDLE #include <setjmp.h> #include <X11/Xlib.h> diff --git a/libexec/talkd/Makefile b/libexec/talkd/Makefile index 7f82f1f..cc0c597 100644 --- a/libexec/talkd/Makefile +++ b/libexec/talkd/Makefile @@ -7,8 +7,4 @@ SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c MAN= talkd.8 CFLAGS+=-I${.CURDIR}/../../usr.bin/wall - -DPADD= ${LIBULOG} -LDADD= -lulog - .include <bsd.prog.mk> diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c index d796cd5..18ddc42 100644 --- a/libexec/talkd/process.c +++ b/libexec/talkd/process.c @@ -59,8 +59,7 @@ static const char rcsid[] = #include <stdio.h> #include <string.h> #include <syslog.h> -#define _ULOG_POSIX_NAMES -#include <ulog.h> +#include <utmpx.h> #include "extern.h" |