Source-Changes-HG archive

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

[src/trunk]: src/lib/libtelnet be friendly to unifdef(1)



details:   https://anonhg.NetBSD.org/src/rev/d8b973b617cb
branches:  trunk
changeset: 549412:d8b973b617cb
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Jul 14 08:36:27 2003 +0000

description:
be friendly to unifdef(1)

diffstat:

 lib/libtelnet/auth-proto.h |  4 ++--
 lib/libtelnet/auth.c       |  6 +++---
 lib/libtelnet/misc.c       |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 09bfde06eb33 -r d8b973b617cb lib/libtelnet/auth-proto.h
--- a/lib/libtelnet/auth-proto.h        Mon Jul 14 08:01:45 2003 +0000
+++ b/lib/libtelnet/auth-proto.h        Mon Jul 14 08:36:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth-proto.h,v 1.9 2001/01/06 23:36:07 christos Exp $  */
+/*     $NetBSD: auth-proto.h,v 1.10 2003/07/14 08:36:27 itojun Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -59,7 +59,7 @@
 #define _LIBTELNET_AUTH_PROTO_H_
 #include <sys/cdefs.h>
 
-#if    defined(AUTHENTICATION)
+#ifdef AUTHENTICATION
 Authenticator *findauthenticator __P((int, int));
 
 void auth_init __P((const char *, int));
diff -r 09bfde06eb33 -r d8b973b617cb lib/libtelnet/auth.c
--- a/lib/libtelnet/auth.c      Mon Jul 14 08:01:45 2003 +0000
+++ b/lib/libtelnet/auth.c      Mon Jul 14 08:36:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth.c,v 1.12 2002/05/26 22:07:27 wiz Exp $    */
+/*     $NetBSD: auth.c,v 1.13 2003/07/14 08:36:27 itojun Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)auth.c     8.3 (Berkeley) 5/30/95"
 #else
-__RCSID("$NetBSD: auth.c,v 1.12 2002/05/26 22:07:27 wiz Exp $");
+__RCSID("$NetBSD: auth.c,v 1.13 2003/07/14 08:36:27 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -63,7 +63,7 @@
  */
 
 
-#if    defined(AUTHENTICATION)
+#ifdef AUTHENTICATION
 #include <stdio.h>
 #include <sys/types.h>
 #include <signal.h>
diff -r 09bfde06eb33 -r d8b973b617cb lib/libtelnet/misc.c
--- a/lib/libtelnet/misc.c      Mon Jul 14 08:01:45 2003 +0000
+++ b/lib/libtelnet/misc.c      Mon Jul 14 08:36:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: misc.c,v 1.10 2000/06/22 06:47:46 thorpej Exp $        */
+/*     $NetBSD: misc.c,v 1.11 2003/07/14 08:36:27 itojun Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)misc.c     8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: misc.c,v 1.10 2000/06/22 06:47:46 thorpej Exp $");
+__RCSID("$NetBSD: misc.c,v 1.11 2003/07/14 08:36:27 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -63,7 +63,7 @@
 {
        RemoteHostName = remote;
        LocalHostName = local;
-#if    defined(AUTHENTICATION)
+#ifdef AUTHENTICATION
        auth_init(name, server);
 #endif
 #ifdef ENCRYPTION



Home | Main Index | Thread Index | Old Index