Module Name: src Committed By: maya Date: Thu Dec 13 04:29:18 UTC 2018
Modified Files: src/libexec/telnetd: sys_term.c Log Message: Remove unused macros. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/libexec/telnetd/sys_term.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/telnetd/sys_term.c diff -u src/libexec/telnetd/sys_term.c:1.47 src/libexec/telnetd/sys_term.c:1.48 --- src/libexec/telnetd/sys_term.c:1.47 Fri Jun 28 15:48:02 2013 +++ src/libexec/telnetd/sys_term.c Thu Dec 13 04:29:18 2018 @@ -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 @@ __RCSID("$NetBSD: sys_term.c,v 1.47 2013 #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);