Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/libhack have setloginx() and friends to avoid ...



details:   https://anonhg.NetBSD.org/src/rev/53996d73bd4b
branches:  trunk
changeset: 534800:53996d73bd4b
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat Aug 03 11:37:17 2002 +0000

description:
have setloginx() and friends to avoid linking *.o from libutil.  PR 17820

diffstat:

 distrib/utils/libhack/utmp.c |  22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 69e869d7d9af -r 53996d73bd4b distrib/utils/libhack/utmp.c
--- a/distrib/utils/libhack/utmp.c      Sat Aug 03 11:10:51 2002 +0000
+++ b/distrib/utils/libhack/utmp.c      Sat Aug 03 11:37:17 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmp.c,v 1.3 1999/06/21 02:32:20 danw Exp $    */
+/*     $NetBSD: utmp.c,v 1.4 2002/08/03 11:37:17 itojun Exp $  */
 
 /*
  * Written by Gordon W. Ross <gwr%netbsd.org@localhost>
@@ -16,6 +16,12 @@
 {
 }
 
+void
+loginx(ut)
+       const struct utmpx *ut;
+{
+}
+
 int
 logout(line)
        const char *line;
@@ -23,9 +29,23 @@
        return(0);
 }
 
+int
+logoutx(line, status, type)
+       const char *line;
+       int status, type;
+{
+       return(0);
+}
 
 void
 logwtmp(line, name, host)
        const char *line, *name, *host;
 {
 }
+
+void
+logwtmpx(line, name, host, status, type)
+       const char *line, *name, *host;
+       int status, type;
+{
+}



Home | Main Index | Thread Index | Old Index