Source-Changes-HG archive

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

[src/trunk]: src/libexec/telnetd Remove unused macros.



details:   https://anonhg.NetBSD.org/src/rev/0bcb903bf2f1
branches:  trunk
changeset: 446638:0bcb903bf2f1
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Dec 13 04:29:18 2018 +0000

description:
Remove unused macros.

diffstat:

 libexec/telnetd/sys_term.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r b546cab52a99 -r 0bcb903bf2f1 libexec/telnetd/sys_term.c
--- a/libexec/telnetd/sys_term.c        Thu Dec 13 03:18:18 2018 +0000
+++ b/libexec/telnetd/sys_term.c        Thu Dec 13 04:29:18 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_term.c,v 1.47 2013/06/28 15:48:02 christos Exp $   */
+/*     $NetBSD: sys_term.c,v 1.48 2018/12/13 04:29:18 maya Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)sys_term.c 8.4+1 (Berkeley) 5/30/95";
 #else
-__RCSID("$NetBSD: sys_term.c,v 1.47 2013/06/28 15:48:02 christos Exp $");
+__RCSID("$NetBSD: sys_term.c,v 1.48 2018/12/13 04:29:18 maya Exp $");
 #endif
 #endif /* not lint */
 
@@ -51,9 +51,6 @@
 #include <utmpx.h>
 #endif
 
-#define SCPYN(a, b)    (void) strncpy(a, b, sizeof(a))
-#define SCMPN(a, b)    strncmp(a, b, sizeof(a))
-
 struct termios termbuf, termbuf2;      /* pty control structure */
 
 void getptyslave(void);



Home | Main Index | Thread Index | Old Index